PolyLine Class Reference

Class Description

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

Public Member Functions

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

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
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)