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
__init__(self, point)Construct a EndPoint from a Cartesian point.
__init__(self, v)Construct a EndPoint from a real parameter.
__init__(self)Constructs 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_degree(, degree)Create an end point measured in degree.
from_radian(, degree)Create an end point measured in radian.

See Also