MaxPlus Python API Reference
PolyLine Class Reference
+ 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 (self, keepZero=True)
 
def Segments (self)
 
def SelfIntersects (self, findAll=True)
 
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

 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
 thisown = _swig_property(lambda x: x.this.own(), lambda x, v: x.this.own(v), doc='The membership flag')
 

Detailed Description

Represents a single polygon in a PolyShape using linear segments.

Member Function Documentation

◆ Append()

def Append (   self,
args 
)
Append(PolyLine self, PolyPt p)

◆ BuildBoundingBox()

def BuildBoundingBox (   self)
BuildBoundingBox(PolyLine self)

◆ Close()

def Close (   self)
Close(PolyLine self)

◆ CopyFrom()

def CopyFrom (   self,
args 
)
CopyFrom(PolyLine self, PolyLine other)

◆ CurveLength()

def CurveLength (   self)
CurveLength(PolyLine self) -> float

◆ Delete()

def Delete (   self,
args 
)
Delete(PolyLine self, int where)

◆ GetBoundingBox()

def GetBoundingBox (   self,
args 
)
GetBoundingBox(PolyLine self, Matrix3 tm) -> Box3
GetBoundingBox(PolyLine self) -> Box3

◆ GetFlags()

def GetFlags (   self)
GetFlags(PolyLine self) -> DWORD

◆ GetMatID()

def GetMatID (   self,
args 
)
GetMatID(PolyLine self, int segment) -> MtlID

◆ GetNumPoints()

def GetNumPoints (   self)
GetNumPoints(PolyLine self) -> int

◆ GetSmoothingMap()

def GetSmoothingMap (   self)
GetSmoothingMap(PolyLine self) -> IntList

◆ HitsPolyLine()

def HitsPolyLine (   self,
args 
)
HitsPolyLine(PolyLine self, PolyLine line, bool findAll=False) -> bool
HitsPolyLine(PolyLine self, PolyLine line) -> bool

◆ HitsSegment()

def HitsSegment (   self,
args 
)
HitsSegment(PolyLine self, Point2 p1, Point2 p2, bool findAll=True) -> bool
HitsSegment(PolyLine self, Point2 p1, Point2 p2) -> bool

◆ Init()

def Init (   self)
Init(PolyLine self)

◆ Insert()

def Insert (   self,
args 
)
Insert(PolyLine self, int where, PolyPt p)

◆ InterpCurve3D()

def InterpCurve3D (   self,
args 
)
InterpCurve3D(PolyLine self, float u, int ptype=POLYSHP_INTERP_SIMPLE) -> Point3
InterpCurve3D(PolyLine self, float u) -> Point3

◆ InterpPiece3D()

def InterpPiece3D (   self,
args 
)
InterpPiece3D(PolyLine self, int segment, float t) -> Point3

◆ IsClockWise()

def IsClockWise (   self)
IsClockWise(PolyLine self) -> bool

◆ IsClosed()

def IsClosed (   self)
IsClosed(PolyLine self) -> bool

◆ IsNoSelfInt()

def IsNoSelfInt (   self)
IsNoSelfInt(PolyLine self) -> bool

◆ IsOpen()

def IsOpen (   self)
IsOpen(PolyLine self) -> bool

◆ Open()

def Open (   self)
Open(PolyLine self)

◆ Reverse()

def Reverse (   self,
  keepZero = True 
)
Reverse(PolyLine self, bool keepZero=True)
Reverse(PolyLine self)

◆ Segments()

def Segments (   self)
Segments(PolyLine self) -> int

◆ SelfIntersects()

def SelfIntersects (   self,
  findAll = True 
)
SelfIntersects(PolyLine self, bool findAll=True) -> bool
SelfIntersects(PolyLine self) -> bool

◆ SetNoSelfInt()

def SetNoSelfInt (   self)
SetNoSelfInt(PolyLine self)

◆ SetNumPoints()

def SetNumPoints (   self,
args 
)
SetNumPoints(PolyLine self, int count, bool keep=TRUE) -> bool
SetNumPoints(PolyLine self, int count) -> bool

◆ SpliceLine()

def SpliceLine (   self,
args 
)
SpliceLine(PolyLine self, int where, PolyLine source, int splicePoint)

◆ SurroundsPoint()

def SurroundsPoint (   self,
args 
)
SurroundsPoint(PolyLine self, Point2 point) -> bool

◆ Swap()

def Swap (   self,
args 
)
Swap(PolyLine self, PolyLine line)

◆ TangentCurve3D()

def TangentCurve3D (   self,
args 
)
TangentCurve3D(PolyLine self, float u, int ptype=POLYSHP_INTERP_SIMPLE) -> Point3
TangentCurve3D(PolyLine self, float u) -> Point3

◆ TangentPiece3D()

def TangentPiece3D (   self,
args 
)
TangentPiece3D(PolyLine self, int segment, float t) -> Point3

◆ Transform()

def Transform (   self,
args 
)
Transform(PolyLine self, Matrix3 tm)