EndPoint class
EndPoint class
The end point to trim the curve, can be a parameter value or a Cartesian point.
The EndPoint type exposes the following members:
Constructors
| Constructor | Description |
|---|
| init | Construct a EndPoint from a Cartesian point. |
| init | Construct a EndPoint from a real parameter. |
| init | Constructs a new instance of EndPoint |
Properties
| Property | Description |
|---|
| is_cartesian_point | Is the end point a Cartesian point? |
| as_point | Gets the end point as Cartesian point, or thrown an exception. |
| as_value | Gets the end point as a real parameter, or throw an exception. |
Methods
| Method | Description |
|---|
| from_degree | Create an end point measured in degree. |
| from_radian | Create an end point measured in radian. |
See Also