Polyline2d Polyline2d.hxx cadex/Geom/Polyline2d.hxx. More...
Public Member Functions | |
| __init__ (self, thePoints) | |
| AddPoint (self, thePoint) | |
| Adds a new point to the end of the list of polyline points. | |
| AddPoints (self, thePoints) | |
| Point (self, theIndex) | |
| Returns the point at position theIndex in polyline. | |
| NumberOfPoints (self) | |
| Returns a number of points in polyline. | |
Public Member Functions inherited from manufacturingtoolkit.CadExMTK.BaseObject | |
| Id (self) | |
| Return unique identifier of public object. | |
| IsNull (self) | |
| IsEqual (self, theObj) | |
| __hash__ (self) | |
| __eq__ (self, other) | |
Static Public Member Functions | |
| CompareType (theObject) | |
Static Public Member Functions inherited from manufacturingtoolkit.CadExMTK.Geom_Geometry | |
| Cast (theBase) | |
Polyline2d Polyline2d.hxx cadex/Geom/Polyline2d.hxx.
Defines a connected sequence of line segments created as a single object.
A polyline is a line consisting of one or more line segments joined end to end. Polylines, unlike polygons, are not necessarily closed.
| manufacturingtoolkit.CadExMTK.Geom_Polyline2d.__init__ | ( | self, | |
| thePoints ) |
Reimplemented from manufacturingtoolkit.CadExMTK.Geom_Geometry.
|
static |
Reimplemented from manufacturingtoolkit.CadExMTK.Geom_Geometry.