Options
All
  • Public
  • Public/Protected
  • All
Menu
Logo of bit by bit developers

Class VerbCurve

Hierarchy

  • VerbCurve

Index

Constructors

constructor

  • new VerbCurve(context: Context, geometryHelper: GeometryHelper): VerbCurve
  • Parameters

    • context: Context
    • geometryHelper: GeometryHelper

    Returns VerbCurve

Properties

Readonly circle

Readonly ellipse

Methods

clone

  • Clone the Nurbs curve

    Parameters

    Returns any

    Nurbs curve

closestParam

  • Finds the closest param on the Nurbs curve from the point

    Parameters

    Returns number

    Param number

closestParams

  • Finds the closest params on the Nurbs curve from the points

    Parameters

    Returns number[]

    Param numbers

closestPoint

  • Finds the closest point on the Nurbs curve from the point

    Parameters

    Returns Point3

    Point

closestPoints

  • Finds the closest points on the Nurbs curve from the list of points

    Parameters

    Returns Point3[]

    Points

controlPoints

  • Finds the control points of the Nurbs curve

    Parameters

    Returns Point3[]

    Points

createBezierCurve

  • Creates a Bezier Nurbs curve by providing control points and weights

    Parameters

    Returns any

    Bezier Nurbs curve

createCurveByKnotsControlPointsWeights

  • Creates a Nurbs curve by providing knots, control points & weights

    Parameters

    Returns any

    Nurbs curve

createCurveByPoints

  • Creates a Nurbs curve by providing control points

    Parameters

    Returns any

    Nurbs curve

degree

  • Finds the degree of the Nurbs curve

    Parameters

    Returns number

    Degree number

derivatives

  • Finds the derivatives of the Nurbs curve at parameter

    Parameters

    Returns number[]

    Derivatives

divideByArcLengthToParams

  • Divides the curve by arc length to parameters

    Parameters

    Returns number[]

    Parameters

divideByArcLengthToPoints

  • Divides the curve by arc length to points

    Parameters

    Returns Point3[]

    Points

divideByEqualArcLengthToParams

  • Divides the curve by equal arc length to parameters

    Parameters

    Returns number[]

    Parameters

divideByEqualArcLengthToPoints

  • Divides the curve by equal arc length to points

    Parameters

    Returns Point3[]

    Points

divideCurvesByArcLengthToPoints

  • Divides multiple curves by arc length to points

    Parameters

    Returns Point3[][]

    Points placed for each curve in separate arrays

divideCurvesByEqualArcLengthToPoints

  • Divides multiple curves by equal arc length to points

    Parameters

    Returns Point3[][]

    Points placed for each curve in separate arrays

domain

  • Finds the domain interval of the curve parameters

    Parameters

    Returns IntervalDto

    Interval domain

drawCurve

  • Draws a single curve

    Parameters

    Returns LinesMesh

    Lines mesh that is being drawn by Babylon

drawCurves

  • Draws multiple curves

    Parameters

    Returns LinesMesh

    Lines mesh that is being drawn by Babylon

endPoint

  • End point of the curve

    Parameters

    Returns Point3

    End point

endPoints

  • End points of the curves

    Parameters

    Returns Point3[]

    End points

knots

  • Finds the knots of the Nurbs curve

    Parameters

    Returns number[]

    Knots

length

  • Gets the length of the Nurbs curve

    Parameters

    Returns number

    Length

lengthAtParam

  • Gets the length of the Nurbs curve at specific parameter

    Parameters

    Returns number

    Length

paramAtLength

  • Gets the param at specified length on the Nurbs curve

    Parameters

    Returns number

    Parameter

pointAtParam

  • Gets the point at specified parameter on the Nurbs curve

    Parameters

    Returns Point3

    Point

pointsAtParam

  • Gets the points at specified parameter on the Nurbs curves

    Parameters

    Returns Point3[]

    Points in arrays for each curve

reverse

  • Reverses the Nurbs curve

    Parameters

    Returns any

    Reversed Nurbs curve

split

  • Splits the Nurbs curve in two at a given parameter

    Parameters

    Returns any[]

    Nurbs curves

startPoint

  • Start point of the curve

    Parameters

    Returns Point3

    Start point

startPoints

  • Start points of the curves

    Parameters

    Returns Point3[]

    Start points

tangent

  • Tangent of the Nurbs curve at a given parameter

    Parameters

    Returns Vector3

    Tangent vector

tessellate

  • Tessellates the Nurbs curve into a list of points

    Parameters

    Returns Point3[]

    Points

transform

  • Transforms the Nurbs curve

    Parameters

    Returns any

    Transformed curve

transformCurves

  • Transforms the Nurbs curves

    Parameters

    Returns any[]

    Transformed curves

weights

  • Weights of the Nurbs curve

    Parameters

    Returns number[]

    Weights

Generated using TypeDoc