EndPoint

EndPoint class

The end point to trim the curve, can be a parameter value or a Cartesian point.

Methods

constructor

NameDescription
constructor()

Result:


constructor_overload

NameDescription
constructor_overload(point)Construct a EndPoint from a Cartesian point.

Parameters:

NameTypeDescription
poinVector3null

Result:


constructor_overload$2{#constructor_overload$2}

NameDescription
constructor_overload$2(v)Construct a EndPoint from a real parameter.

Parameters:

NameTypeDescription
Numbernull

Result:


isCartesianPoint

NameDescription
isCartesianPoint()Is the end point a Cartesian point?

Result:


getAsPoint

NameDescription
getAsPoint()Gets the end point as Cartesian point, or thrown an exception.

Result:


getAsValue

NameDescription
getAsValue()Gets the end point as a real parameter, or throw an exception.

Result:


fromDegree

NameDescription
fromDegree(degree)Create an end point measured in degree.

Parameters:

NameTypeDescription
degreNumbernull

Result: EndPoint


fromRadian

NameDescription
fromRadian(degree)Create an end point measured in radian.

Parameters:

NameTypeDescription
degreNumbernull

Result: EndPoint


toString

NameDescription
toString()Returns a string representation of the current end point.

Result: String