C# Class ClipperLib.ClipperBase

显示文件 Open project: iNiKe/clipper Class Usage Examples

Public Methods

Method Description
AddPolygon ( List pg, PolyType polyType ) : bool
AddPolygons ( List> ppg, PolyType polyType ) : bool
Clear ( ) : void
GetBounds ( ) : IntRect

Protected Methods

Method Description
PointsEqual ( IntPoint pt1, IntPoint pt2 ) : bool
PopLocalMinima ( ) : void
Reset ( ) : void
SlopesEqual ( IntPoint pt1, IntPoint pt2, IntPoint pt3, IntPoint pt4, bool UseFullRange ) : bool
SlopesEqual ( IntPoint pt1, IntPoint pt2, IntPoint pt3, bool UseFullRange ) : bool

Private Methods

Method Description
AddBoundsToLML ( TEdge e ) : TEdge
ClipperBase ( ) : System
DisposeLocalMinimaList ( ) : void
InitEdge ( TEdge e, TEdge eNext, TEdge ePrev, IntPoint pt, PolyType polyType ) : void
InsertLocalMinima ( LocalMinima newLm ) : void
PointInPolygon ( IntPoint pt, OutPt pp, bool UseFulllongRange ) : bool
PointIsVertex ( IntPoint pt, OutPt pp ) : bool
PointOnLineSegment ( IntPoint pt, IntPoint linePt1, IntPoint linePt2, bool UseFullInt64Range ) : bool
PointOnPolygon ( IntPoint pt, OutPt pp, bool UseFullInt64Range ) : bool
SetDx ( TEdge e ) : void
SlopesEqual ( TEdge e1, TEdge e2, bool UseFullRange ) : bool
SwapX ( TEdge e ) : void

Method Details

AddPolygon() public method

public AddPolygon ( List pg, PolyType polyType ) : bool
pg List
polyType PolyType
return bool

AddPolygons() public method

public AddPolygons ( List> ppg, PolyType polyType ) : bool
ppg List>
polyType PolyType
return bool

Clear() public method

public Clear ( ) : void
return void

GetBounds() public method

public GetBounds ( ) : IntRect
return IntRect

PointsEqual() protected static method

protected static PointsEqual ( IntPoint pt1, IntPoint pt2 ) : bool
pt1 IntPoint
pt2 IntPoint
return bool

PopLocalMinima() protected method

protected PopLocalMinima ( ) : void
return void

Reset() protected method

protected Reset ( ) : void
return void

SlopesEqual() protected static method

protected static SlopesEqual ( IntPoint pt1, IntPoint pt2, IntPoint pt3, IntPoint pt4, bool UseFullRange ) : bool
pt1 IntPoint
pt2 IntPoint
pt3 IntPoint
pt4 IntPoint
UseFullRange bool
return bool

SlopesEqual() protected static method

protected static SlopesEqual ( IntPoint pt1, IntPoint pt2, IntPoint pt3, bool UseFullRange ) : bool
pt1 IntPoint
pt2 IntPoint
pt3 IntPoint
UseFullRange bool
return bool