PolylineFactory Class Reference
factory interface for creating polyline objects More...
Public Member Functions | |
| def | __init__ |
| def | addPart |
| def | addPoint |
| def | addPoint |
| def | addPoint |
| def | addPolyline |
| def | addPolyline |
| def | clear |
| def | closePart |
| def | getPolyline |
Detailed Description
factory interface for creating polyline objects
Polyline may consists of multiple independent lines. Although line part may be closed, the objects does not represent the enclosed area. The object remains a linear object. For describing areas use polygons.
Constructor & Destructor Documentation
| def __init__ | ( | self | ) |
- Parameters
-
self (type: object) self pointer
- Returns
- (type: object)
Member Function Documentation
| def addPart | ( | self | ) |
- Parameters
-
self (type: PolylineFactory) self pointer
- Returns
- (type: PolylineFactory)
| def addPoint | ( | self, | |
| arg1 | |||
| ) |
- Parameters
-
self (type: PolylineFactory) self pointer arg1 (type: Point) mandatory parameter
- Returns
- (type: PolylineFactory)
Referenced by PolylineFactory.addPoint().
| def addPoint | ( | self, | |
| arg1, | |||
| arg2 | |||
| ) |
- Parameters
-
self (type: PolylineFactory) self pointer arg1 (type: float) mandatory parameter arg2 (type: float) mandatory parameter
- Returns
- (type: PolylineFactory)
References PolylineFactory.addPoint().
| def addPoint | ( | self, | |
| arg1, | |||
| arg2, | |||
| arg3 | |||
| ) |
- Parameters
-
self (type: PolylineFactory) self pointer arg1 (type: float) mandatory parameter arg2 (type: float) mandatory parameter arg3 (type: float) mandatory parameter
- Returns
- (type: PolylineFactory)
References PolylineFactory.addPoint().
| def addPolyline | ( | self, | |
| line, | |||
mergeConnectedParts = False |
|||
| ) |
- Parameters
-
self (type: PolylineFactory) self pointer line (type: Polyline) mandatory parameter mergeConnectedParts (type: bool) optional parameter
- Returns
- (type: PolylineFactory)
Referenced by PolylineFactory.addPolyline().
| def addPolyline | ( | self, | |
| part | |||
| ) |
- Parameters
-
self (type: PolylineFactory) self pointer part (type: PolylinePart) mandatory parameter
- Returns
- (type: PolylineFactory)
References PolylineFactory.addPolyline().
| def clear | ( | self | ) |
- Parameters
-
self (type: PolylineFactory) self pointer
| def closePart | ( | self | ) |
- Parameters
-
self (type: PolylineFactory) self pointer
- Returns
- (type: PolylineFactory)
| def getPolyline | ( | self, | |
clear = True |
|||
| ) |
- Parameters
-
self (type: PolylineFactory) self pointer clear (type: bool) optional parameter
- Returns
- (type: Polyline)
