Esempio 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)
Esempio n. 2
0
def modifyBorders__(a, iminL, imaxL, jminL, jmaxL):
    return C.TZGC(a, 'nodes', Connector.modifyBorders__, iminL, imaxL, jminL,
                  jmaxL)
Esempio 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)
Esempio 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)
Esempio n. 5
0
def getCurvilinearAbscissa(t):
    """Return the curvilinear abscissa for each point...
    Usage: getCurvilinearAbscissa(t)"""
    return C.TZGC(t, 'nodes', Geom.getCurvilinearAbscissa)
Esempio 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)
Esempio n. 7
0
def getCurvatureAngle(t):
    """Return the curvature angle for each point...
    Usage: getCurvatureAngle(t)"""
    return C.TZGC(t, 'nodes', Geom.getCurvatureAngle)
Esempio n. 8
0
def getCurvatureRadius(t):
    """Return the curvature radius for each point.
    Usage: getCurvatureRadius(t)"""
    return C.TZGC(t, 'nodes', Geom.getCurvatureRadius)
Esempio n. 9
0
def getCurvatureHeight(t):
    """Return the curvature height for each point.
    Usage: getCurvatureHeight(t)"""
    return C.TZGC(t, 'nodes', Geom.getCurvatureHeight)