EndPoint
Contents
[
Hide
]EndPoint class
The end point to trim the curve, can be a parameter value or a Cartesian point.
Methods
constructor
Name | Description |
---|---|
constructor() |
Result:
constructor_overload
Name | Description |
---|---|
constructor_overload(point) | Construct a EndPoint from a Cartesian point. |
Parameters:
Name | Type | Description |
---|---|---|
poin | Vector3 | null |
Result:
constructor_overload$2{#constructor_overload$2}
Name | Description |
---|---|
constructor_overload$2(v) | Construct a EndPoint from a real parameter. |
Parameters:
Name | Type | Description |
---|---|---|
Number | null |
Result:
isCartesianPoint
Name | Description |
---|---|
isCartesianPoint() | Is the end point a Cartesian point? |
Result:
getAsPoint
Name | Description |
---|---|
getAsPoint() | Gets the end point as Cartesian point, or thrown an exception. |
Result:
getAsValue
Name | Description |
---|---|
getAsValue() | Gets the end point as a real parameter, or throw an exception. |
Result:
fromDegree
Name | Description |
---|---|
fromDegree(degree) | Create an end point measured in degree. |
Parameters:
Name | Type | Description |
---|---|---|
degre | Number | null |
Result: EndPoint
fromRadian
Name | Description |
---|---|
fromRadian(degree) | Create an end point measured in radian. |
Parameters:
Name | Type | Description |
---|---|---|
degre | Number | null |
Result: EndPoint
toString
Name | Description |
---|---|
toString() | Returns a string representation of the current end point. |
Result: String