Skip to main content
Skip table of contents

ClipperBase

ClipperBase Public class

Diagram

  flowchart LR
  classDef interfaceStyle stroke-dasharray: 5 5;
  classDef abstractStyle stroke-width:4px
  subgraph iTextSharp.text.pdf.parser.clipper
  iTextSharp.text.pdf.parser.clipper.ClipperBase[[ClipperBase]]
  end

Members

Properties

Public properties
TypeNameMethods
boolPreserveCollinearget, set

Methods

Internal Static methods
ReturnsName
boolIsHorizontal(TEdge e)
boolSlopesEqual(TEdge e1, TEdge e2, bool UseFullRange)
boolnear_zero(double val)
Protected Static methods
ReturnsName
boolSlopesEqual(...)
Public Static methods
ReturnsName
IntRectGetBounds(List<List<IntPoint>> paths)
Public methods
ReturnsName
boolAddPath(List<IntPoint> pg, PolyType polyType, bool Closed)
boolAddPaths(List<List<IntPoint>> ppg, PolyType polyType, bool closed)
voidClear()
voidSwap(ref long val1, ref long val2)
Internal methods
ReturnsName
boolPointIsVertex(IntPoint pt, OutPt pp)
boolPointOnLineSegment(IntPoint pt, IntPoint linePt1, IntPoint linePt2, bool UseFullRange)
boolPointOnPolygon(IntPoint pt, OutPt pp, bool UseFullRange)
boolPt2IsBetweenPt1AndPt3(IntPoint pt1, IntPoint pt2, IntPoint pt3)
Protected methods
ReturnsName
voidPopLocalMinima()
voidReset()

Details

Constructors

ClipperBase

Source code

internal ClipperBase()

Methods

near_zero

Source code

internal static bool near_zero(double val)
Arguments
TypeNameDescription
doubleval
Swap

Source code

public void Swap(ref long val1, ref long val2)
Arguments
TypeNameDescription
ref longval1
ref longval2
IsHorizontal

Source code

internal static bool IsHorizontal(TEdge e)
Arguments
TypeNameDescription
TEdgee
PointIsVertex

Source code

internal bool PointIsVertex(IntPoint pt, OutPt pp)
Arguments
TypeNameDescription
IntPointpt
OutPtpp
PointOnLineSegment

Source code

internal bool PointOnLineSegment(IntPoint pt, IntPoint linePt1, IntPoint linePt2, bool UseFullRange)
Arguments
TypeNameDescription
IntPointpt
IntPointlinePt1
IntPointlinePt2
boolUseFullRange
PointOnPolygon

Source code

internal bool PointOnPolygon(IntPoint pt, OutPt pp, bool UseFullRange)
Arguments
TypeNameDescription
IntPointpt
OutPtpp
boolUseFullRange
SlopesEqual [1/3]

Source code

internal static bool SlopesEqual(TEdge e1, TEdge e2, bool UseFullRange)
Arguments
TypeNameDescription
TEdgee1
TEdgee2
boolUseFullRange
SlopesEqual [2/3]

Source code

protected static bool SlopesEqual(IntPoint pt1, IntPoint pt2, IntPoint pt3, bool UseFullRange)
Arguments
TypeNameDescription
IntPointpt1
IntPointpt2
IntPointpt3
boolUseFullRange
SlopesEqual [3/3]

Source code

protected static bool SlopesEqual(IntPoint pt1, IntPoint pt2, IntPoint pt3, IntPoint pt4, bool UseFullRange)
Arguments
TypeNameDescription
IntPointpt1
IntPointpt2
IntPointpt3
IntPointpt4
boolUseFullRange
Clear

Source code

public virtual void Clear()
AddPath

Source code

public bool AddPath(List<IntPoint> pg, PolyType polyType, bool Closed)
Arguments
TypeNameDescription
List<IntPoint>pg
PolyTypepolyType
boolClosed
AddPaths

Source code

public bool AddPaths(List<List<IntPoint>> ppg, PolyType polyType, bool closed)
Arguments
TypeNameDescription
List<List<IntPoint>>ppg
PolyTypepolyType
boolclosed
Pt2IsBetweenPt1AndPt3

Source code

internal bool Pt2IsBetweenPt1AndPt3(IntPoint pt1, IntPoint pt2, IntPoint pt3)
Arguments
TypeNameDescription
IntPointpt1
IntPointpt2
IntPointpt3
PopLocalMinima

Source code

protected void PopLocalMinima()
Reset

Source code

protected virtual void Reset()
GetBounds

Source code

public static IntRect GetBounds(List<List<IntPoint>> paths)
Arguments
TypeNameDescription
List<List<IntPoint>>paths

Properties

PreserveCollinear
public bool PreserveCollinear { get; set; }

Generated with ModularDoc

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.