Ejemplo n.º 1
0
def spline(t, order=3, N=100, M=100, density=-1):
    """Create a spline of N points.
    Usage: spline(ctrlsPts, order, N)"""
    return C.TZGC(t, 'nodes', Geom.spline, order, N, M, density)
Ejemplo n.º 2
0
def modifyBorders__(a, iminL, imaxL, jminL, jmaxL):
    return C.TZGC(a, 'nodes', Connector.modifyBorders__, iminL, imaxL, jminL,
                  jmaxL)
Ejemplo n.º 3
0
def getDistribution(t):
    """Return the curvilinear abscissa for each point as coordinates
    Usage: getDistribution(t)"""
    return C.TZGC(t, 'nodes', Geom.getDistribution)
Ejemplo n.º 4
0
def bezier(t, N=100, M=100, density=-1):
    """Create a a Bezier curve controlled by an array of control points.
    Usage: bezier(tc, N)"""
    return C.TZGC(t, 'nodes', Geom.bezier, N, M, density)
Ejemplo n.º 5
0
def getCurvilinearAbscissa(t):
    """Return the curvilinear abscissa for each point...
    Usage: getCurvilinearAbscissa(t)"""
    return C.TZGC(t, 'nodes', Geom.getCurvilinearAbscissa)
Ejemplo n.º 6
0
def getSharpestAngle(t):
    """Return the sharpest angle for each point of a surface based on the sharpest angle
    between adjacent element to which the point belongs to.
    Usage: getSharpestAngle(a)"""
    return C.TZGC(t, 'nodes', Geom.getSharpestAngle)
Ejemplo n.º 7
0
def getCurvatureAngle(t):
    """Return the curvature angle for each point...
    Usage: getCurvatureAngle(t)"""
    return C.TZGC(t, 'nodes', Geom.getCurvatureAngle)
Ejemplo n.º 8
0
def getCurvatureRadius(t):
    """Return the curvature radius for each point.
    Usage: getCurvatureRadius(t)"""
    return C.TZGC(t, 'nodes', Geom.getCurvatureRadius)
Ejemplo n.º 9
0
def getCurvatureHeight(t):
    """Return the curvature height for each point.
    Usage: getCurvatureHeight(t)"""
    return C.TZGC(t, 'nodes', Geom.getCurvatureHeight)