Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Polyline

Index

Constructors

constructor

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

    • context: Context
    • geometryHelper: GeometryHelper

    Returns Polyline

Methods

convertToNurbsCurve

  • Converts a polyline to a NURBS curve Returns the verbnurbs NurbsCurve object

    Parameters

    • inputs: PolylineDto

      Polyline to be transformed to curve

    Returns any

    Verb nurbs curve

countPoints

  • Gets the number of points in the polyline

    Parameters

    Returns number

    Number of points in polyline

create

drawPolyline

  • Draws a single polyline

    Parameters

    Returns LinesMesh

    Lines mesh that is being drawn by Babylon

drawPolylines

  • Draws multiple polylines

    Parameters

    Returns LinesMesh

    Lines mesh that is being drawn by Babylon

getPoints

  • Gets the points of the polyline

    Parameters

    Returns number[][]

    Points of the polyline

length

  • Gets the length of the polyline

    Parameters

    Returns number

    Length of the polyline

reverse

  • Reverse the points of the polyline

    Parameters

    Returns PolylinePropertiesDto

    Reversed polyline

transformPolyline

Generated using TypeDoc