PolyLine Class Reference

Class Description

Represents a single polygon in a PolyShape using linear segments.
+ Inheritance diagram for PolyLine:

Public Member Functions

def Append
 
def BuildBoundingBox
 
def Close
 
def CopyFrom
 
def CurveLength
 
def Delete
 
def GetBoundingBox
 
def GetFlags
 
def GetMatID
 
def GetNumPoints
 
def GetSmoothingMap
 
def HitsPolyLine
 
def HitsSegment
 
def Init
 
def Insert
 
def InterpCurve3D
 
def InterpPiece3D
 
def IsClockWise
 
def IsClosed
 
def IsNoSelfInt
 
def IsOpen
 
def Open
 
def Reverse
 
def Segments
 
def SelfIntersects
 
def SetNoSelfInt
 
def SetNumPoints
 
def SpliceLine
 
def SurroundsPoint
 
def Swap
 
def TangentCurve3D
 
def TangentPiece3D
 
def Transform
 
- Public Member Functions inherited from Wrapper
def GetUnwrappedPtr
 

Static Public Attributes

tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 
- Static Public Attributes inherited from Wrapper
tuple thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Member Function Documentation

def Append (   self,
  args 
)
Append(PolyLine self, PolyPt p)
def BuildBoundingBox (   self)
BuildBoundingBox(PolyLine self)
def Close (   self)
Close(PolyLine self)
def CopyFrom (   self,
  args 
)
CopyFrom(PolyLine self, PolyLine other)
def CurveLength (   self)
CurveLength(PolyLine self) -> float
def Delete (   self,
  args 
)
Delete(PolyLine self, int where)
def GetBoundingBox (   self,
  args 
)
GetBoundingBox(PolyLine self, Matrix3 tm) -> Box3
GetBoundingBox(PolyLine self) -> Box3
GetBoundingBox(PolyLine self) -> Box3
def GetFlags (   self)
GetFlags(PolyLine self) -> DWORD
def GetMatID (   self,
  args 
)
GetMatID(PolyLine self, int segment) -> MtlID
def GetNumPoints (   self)
GetNumPoints(PolyLine self) -> int
def GetSmoothingMap (   self)
GetSmoothingMap(PolyLine self) -> IntList
def HitsPolyLine (   self,
  args 
)
HitsPolyLine(PolyLine self, PolyLine line, bool findAll=False) -> bool
HitsPolyLine(PolyLine self, PolyLine line) -> bool
def HitsSegment (   self,
  args 
)
HitsSegment(PolyLine self, Point2 p1, Point2 p2, bool findAll=True) -> bool
HitsSegment(PolyLine self, Point2 p1, Point2 p2) -> bool
def Init (   self)
Init(PolyLine self)
def Insert (   self,
  args 
)
Insert(PolyLine self, int where, PolyPt p)
def InterpCurve3D (   self,
  args 
)
InterpCurve3D(PolyLine self, float u, int ptype=POLYSHP_INTERP_SIMPLE) -> Point3
InterpCurve3D(PolyLine self, float u) -> Point3
def InterpPiece3D (   self,
  args 
)
InterpPiece3D(PolyLine self, int segment, float t) -> Point3
def IsClockWise (   self)
IsClockWise(PolyLine self) -> bool
def IsClosed (   self)
IsClosed(PolyLine self) -> bool
def IsNoSelfInt (   self)
IsNoSelfInt(PolyLine self) -> bool
def IsOpen (   self)
IsOpen(PolyLine self) -> bool
def Open (   self)
Open(PolyLine self)
def Reverse (   self,
  keepZero = True 
)
Reverse(PolyLine self, bool keepZero=True)
Reverse(PolyLine self)
def Segments (   self)
Segments(PolyLine self) -> int
def SelfIntersects (   self,
  findAll = True 
)
SelfIntersects(PolyLine self, bool findAll=True) -> bool
SelfIntersects(PolyLine self) -> bool
def SetNoSelfInt (   self)
SetNoSelfInt(PolyLine self)
def SetNumPoints (   self,
  args 
)
SetNumPoints(PolyLine self, int count, bool keep=TRUE) -> bool
SetNumPoints(PolyLine self, int count) -> bool
def SpliceLine (   self,
  args 
)
SpliceLine(PolyLine self, int where, PolyLine source, int splicePoint)
def SurroundsPoint (   self,
  args 
)
SurroundsPoint(PolyLine self, Point2 point) -> bool
def Swap (   self,
  args 
)
Swap(PolyLine self, PolyLine line)
def TangentCurve3D (   self,
  args 
)
TangentCurve3D(PolyLine self, float u, int ptype=POLYSHP_INTERP_SIMPLE) -> Point3
TangentCurve3D(PolyLine self, float u) -> Point3
def TangentPiece3D (   self,
  args 
)
TangentPiece3D(PolyLine self, int segment, float t) -> Point3
def Transform (   self,
  args 
)
Transform(PolyLine self, Matrix3 tm)