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

ConstructorDescription
initConstruct a EndPoint from a Cartesian point.
initConstruct a EndPoint from a real parameter.
initConstructs a new instance of EndPoint

Properties

PropertyDescription
is_cartesian_pointIs the end point a Cartesian point?
as_pointGets the end point as Cartesian point, or thrown an exception.
as_valueGets the end point as a real parameter, or throw an exception.

Methods

MethodDescription
from_degreeCreate an end point measured in degree.
from_radianCreate an end point measured in radian.

See Also