Spline2D
Class full path: NemAll_Python_Geometry.Spline2D
Bases: PolyPoints2D
Representation class for 2D spline.
Attributes
EndVector: Vector2D
property
writable
Get end vector.
StartVector: Vector2D
property
writable
Get start vector.
Functions
GetEndVector()
GetStartVector()
IsClosed()
Check if spline is closed ( first/last points are equal )
Returns:
Type | Description |
---|---|
bool
|
closed spline true/false |
Reverse()
Reverse of current spline
Method reverse Spline using reverse from PolyPoints and swapping tangents.
SetEndVector(vec)
SetStartVector(vec)
__eq__(spline)
Comparison of splines without tolerance.
Be careful, this method work without tolerance!
Parameters:
Name | Type | Description | Default |
---|---|---|---|
spline
|
Spline2D
|
Compared spline. |
required |
Returns:
Type | Description |
---|---|
object
|
True when splines are equal, otherwise false. |
__init__
overload
__mul__(matrix)
__repr__()
Convert to string