PolylineFactory Class Reference

factory interface for creating polyline objects More...

+ Inheritance diagram for PolylineFactory:

Public Member Functions

def __init__ (self)
 
def addPart (self)
 
def clear (self)
 
def closePart (self)
 
def getPolyline (self, clear=True)
 

Static Public Member Functions

def addPoint (self, *args, **kwargs)
 
def addPolyline (self, *args, **kwargs)
 

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

◆ __init__()

def __init__ (   self)
  @param self (type: object) self pointer
  @return (type: object)

Member Function Documentation

◆ addPart()

def addPart (   self)
  @param self (type: PolylineFactory) self pointer
  @return (type: PolylineFactory)

◆ addPoint()

def addPoint (   self,
args,
**  kwargs 
)
static
  possible calls:
  addPoint(self, arg1: Point)
  addPoint(self, arg1: float, arg2: float)
  addPoint(self, arg1: float, arg2: float, arg3: float)

  @param self (type: object) self pointer
  @param *args  (type: list) mandatory parameter
  @param ** kwargs  (type: dict) mandatory parameter
  @return (type: PolylineFactory)

◆ addPolyline()

def addPolyline (   self,
args,
**  kwargs 
)
static
  possible calls:
  addPolyline(self, line: Polyline, mergeConnectedParts: bool)
  addPolyline(self, part: PolylinePart)

  @param self (type: object) self pointer
  @param *args  (type: list) mandatory parameter
  @param ** kwargs  (type: dict) mandatory parameter
  @return (type: PolylineFactory)

◆ clear()

def clear (   self)
  @param self (type: PolylineFactory) self pointer

◆ closePart()

def closePart (   self)
  @param self (type: PolylineFactory) self pointer
  @return (type: PolylineFactory)

◆ getPolyline()

def getPolyline (   self,
  clear = True 
)
  @param self (type: PolylineFactory) self pointer
  @param clear  (type: bool) optional parameter
  @return (type: Polyline)