Hide menu
Loading...
Searching...
No Matches
manufacturingtoolkit.CadExMTK.Geom_Polyline Class Reference

Polyline Polyline.hxx cadex/Geom/Polyline.hxx. More...

Inheritance diagram for manufacturingtoolkit.CadExMTK.Geom_Polyline:
manufacturingtoolkit.CadExMTK.Geom_Geometry manufacturingtoolkit.CadExMTK.BaseObject

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)
 

Static Public Member Functions

 CompareType (theObject)
 
- Static Public Member Functions inherited from manufacturingtoolkit.CadExMTK.Geom_Geometry
 Cast (theBase)
 

Detailed Description

Polyline Polyline.hxx cadex/Geom/Polyline.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.

Constructor & Destructor Documentation

◆ __init__()

manufacturingtoolkit.CadExMTK.Geom_Polyline.__init__ ( self,
thePoints )

Member Function Documentation

◆ CompareType()

manufacturingtoolkit.CadExMTK.Geom_Polyline.CompareType ( theObject)
static

The documentation for this class was generated from the following file:
  • CadExMTK.py