Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Line

Index

Constructors

constructor

  • new Line(context: ContextBase, geometryHelper: GeometryHelper): Line
  • Parameters

    • context: ContextBase
    • geometryHelper: GeometryHelper

    Returns Line

Methods

convertLinesToNurbsCurves

  • convertLinesToNurbsCurves(inputs: LinesDto): any[]
  • Converts lines to a NURBS curves Returns array of the verbnurbs Line objects

    Parameters

    • inputs: LinesDto

      Lines to be transformed to curves

    Returns any[]

    Verb nurbs curves

convertToNurbsCurve

  • convertToNurbsCurve(inputs: LineDto): any
  • Converts a line to a NURBS line curve Returns the verbnurbs Line object

    Parameters

    • inputs: LineDto

      Line to be transformed to curve

    Returns any

    Verb nurbs curve

create

  • Create the line

    Parameters

    Returns Line3

    Line

createAsync

  • Create the line from possibly async inputs of points

    Parameters

    Returns Promise<Line3>

    Line

getEndPoint

  • Gets the end point of the line

    Parameters

    • inputs: LineDto

      Line to be queried

    Returns Point3

    End point

getPointOnLine

  • Gets the point on the line segment at a given param

    Parameters

    Returns Point3

    Point on line

getStartPoint

  • Gets the start point of the line

    Parameters

    • inputs: LineDto

      Line to be queried

    Returns Point3

    Start point

length

  • Gets the length of the line

    Parameters

    • inputs: LineDto

      Line to be queried

    Returns number

    Length of the line

linesBetweenPoints

  • Create the line segments between all of the points in a list

    Parameters

    Returns Line3[]

    Lines

linesBetweenStartAndEndPoints

  • Create the lines between two lists of start and end points of equal length

    Parameters

    Returns Line3[]

    Lines

linesBetweenStartAndEndPointsAsync

  • Create the lines between two lists of start and end points of equal length with potential async inputs

    Parameters

    Returns Promise<Line3[]>

    Lines

reverse

  • Reverse the endpoints of the line

    Parameters

    • inputs: LineDto

      Line to be reversed

    Returns Line3

    Reversed line

transformLine

  • Transform the line

    Parameters

    Returns Line3

    Transformed line

transformsForLines

  • Transforms the lines with multiple transform for each line

    Parameters

    Returns Line3[]

    Transformed lines

Generated using TypeDoc