Skip to main content
Skip table of contents

Clipper (2)

Clipper 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.Clipper[[Clipper]]
  iTextSharp.text.pdf.parser.clipper.ClipperBase[[ClipperBase]]
  end
iTextSharp.text.pdf.parser.clipper.ClipperBase --> iTextSharp.text.pdf.parser.clipper.Clipper

Members

Properties

Public properties
TypeNameMethods
boolReverseSolutionget, set
boolStrictlySimpleget, set

Methods

Protected methods
ReturnsName
voidReset()
Public methods
ReturnsName
boolExecute(...)
Internal methods
ReturnsName
voidFixHoleLinkage(OutRec outRec)
voidSwapPoints(ref IntPoint pt1, ref IntPoint pt2)
Internal Static methods
ReturnsName
voidAddPolyNodeToPaths(PolyNode polynode, NodeType nt, List<List<IntPoint>> paths)
List<List<IntPoint>>Minkowski(List<IntPoint> pattern, List<IntPoint> path, bool IsSum, bool IsClosed)
longRound(double value)
Public Static methods
ReturnsName
doubleArea(List<IntPoint> poly)
List<IntPoint>CleanPolygon(...)
List<List<IntPoint>>CleanPolygons(...)
List<List<IntPoint>>ClosedPathsFromPolyTree(PolyTree polytree)
List<List<IntPoint>>MinkowskiDiff(List<IntPoint> poly1, List<IntPoint> poly2)
List<List<IntPoint>>MinkowskiSum(...)
List<List<IntPoint>>OpenPathsFromPolyTree(PolyTree polytree)
boolOrientation(List<IntPoint> poly)
intPointInPolygon(IntPoint pt, List<IntPoint> path)
List<List<IntPoint>>PolyTreeToPaths(PolyTree polytree)
voidReversePaths(List<List<IntPoint>> polys)
List<List<IntPoint>>SimplifyPolygon(...)
List<List<IntPoint>>SimplifyPolygons(...)

Details

Inheritance

Nested types

Enums
  • NodeType

Constructors

Clipper [1/2]

Source code

public Clipper()
Clipper [2/2]

Source code

public Clipper(int InitOptions)
Arguments
TypeNameDescription
intInitOptions

Methods

Reset

Source code

protected override void Reset()
Execute [1/6]

Source code

public bool Execute(ClipType clipType, List<List<IntPoint>> solution)
Arguments
TypeNameDescription
ClipTypeclipType
List<List<IntPoint>>solution
Execute [2/6]

Source code

public bool Execute(ClipType clipType, List<List<IntPoint>> solution, PolyFillType FillType)
Arguments
TypeNameDescription
ClipTypeclipType
List<List<IntPoint>>solution
PolyFillTypeFillType
Execute [3/6]

Source code

public bool Execute(ClipType clipType, PolyTree polytree)
Arguments
TypeNameDescription
ClipTypeclipType
PolyTreepolytree
Execute [4/6]

Source code

public bool Execute(ClipType clipType, PolyTree polytree, PolyFillType FillType)
Arguments
TypeNameDescription
ClipTypeclipType
PolyTreepolytree
PolyFillTypeFillType
Execute [5/6]

Source code

public bool Execute(ClipType clipType, List<List<IntPoint>> solution, PolyFillType subjFillType, PolyFillType clipFillType)
Arguments
TypeNameDescription
ClipTypeclipType
List<List<IntPoint>>solution
PolyFillTypesubjFillType
PolyFillTypeclipFillType
Execute [6/6]

Source code

public bool Execute(ClipType clipType, PolyTree polytree, PolyFillType subjFillType, PolyFillType clipFillType)
Arguments
TypeNameDescription
ClipTypeclipType
PolyTreepolytree
PolyFillTypesubjFillType
PolyFillTypeclipFillType
FixHoleLinkage

Source code

internal void FixHoleLinkage(OutRec outRec)
Arguments
TypeNameDescription
OutRecoutRec
SwapPoints

Source code

internal void SwapPoints(ref IntPoint pt1, ref IntPoint pt2)
Arguments
TypeNameDescription
ref IntPointpt1
ref IntPointpt2
Round

Source code

internal static long Round(double value)
Arguments
TypeNameDescription
doublevalue
ReversePaths

Source code

public static void ReversePaths(List<List<IntPoint>> polys)
Arguments
TypeNameDescription
List<List<IntPoint>>polys
Orientation

Source code

public static bool Orientation(List<IntPoint> poly)
Arguments
TypeNameDescription
List<IntPoint>poly
PointInPolygon

Source code

public static int PointInPolygon(IntPoint pt, List<IntPoint> path)
Arguments
TypeNameDescription
IntPointpt
List<IntPoint>path
Area

Source code

public static double Area(List<IntPoint> poly)
Arguments
TypeNameDescription
List<IntPoint>poly
SimplifyPolygon [1/2]

Source code

public static List<List<IntPoint>> SimplifyPolygon(List<IntPoint> poly)
Arguments
TypeNameDescription
List<IntPoint>poly
SimplifyPolygon [2/2]

Source code

public static List<List<IntPoint>> SimplifyPolygon(List<IntPoint> poly, PolyFillType fillType)
Arguments
TypeNameDescription
List<IntPoint>poly
PolyFillTypefillType
SimplifyPolygons [1/2]

Source code

public static List<List<IntPoint>> SimplifyPolygons(List<List<IntPoint>> polys)
Arguments
TypeNameDescription
List<List<IntPoint>>polys
SimplifyPolygons [2/2]

Source code

public static List<List<IntPoint>> SimplifyPolygons(List<List<IntPoint>> polys, PolyFillType fillType)
Arguments
TypeNameDescription
List<List<IntPoint>>polys
PolyFillTypefillType
CleanPolygon [1/2]

Source code

public static List<IntPoint> CleanPolygon(List<IntPoint> path)
Arguments
TypeNameDescription
List<IntPoint>path
CleanPolygon [2/2]

Source code

public static List<IntPoint> CleanPolygon(List<IntPoint> path, double distance)
Arguments
TypeNameDescription
List<IntPoint>path
doubledistance
CleanPolygons [1/2]

Source code

public static List<List<IntPoint>> CleanPolygons(List<List<IntPoint>> polys)
Arguments
TypeNameDescription
List<List<IntPoint>>polys
CleanPolygons [2/2]

Source code

public static List<List<IntPoint>> CleanPolygons(List<List<IntPoint>> polys, double distance)
Arguments
TypeNameDescription
List<List<IntPoint>>polys
doubledistance
Minkowski

Source code

internal static List<List<IntPoint>> Minkowski(List<IntPoint> pattern, List<IntPoint> path, bool IsSum, bool IsClosed)
Arguments
TypeNameDescription
List<IntPoint>pattern
List<IntPoint>path
boolIsSum
boolIsClosed
MinkowskiSum [1/2]

Source code

public static List<List<IntPoint>> MinkowskiSum(List<IntPoint> pattern, List<IntPoint> path, bool pathIsClosed)
Arguments
TypeNameDescription
List<IntPoint>pattern
List<IntPoint>path
boolpathIsClosed
MinkowskiSum [2/2]

Source code

public static List<List<IntPoint>> MinkowskiSum(List<IntPoint> pattern, List<List<IntPoint>> paths, bool pathIsClosed)
Arguments
TypeNameDescription
List<IntPoint>pattern
List<List<IntPoint>>paths
boolpathIsClosed
MinkowskiDiff

Source code

public static List<List<IntPoint>> MinkowskiDiff(List<IntPoint> poly1, List<IntPoint> poly2)
Arguments
TypeNameDescription
List<IntPoint>poly1
List<IntPoint>poly2
PolyTreeToPaths

Source code

public static List<List<IntPoint>> PolyTreeToPaths(PolyTree polytree)
Arguments
TypeNameDescription
PolyTreepolytree
AddPolyNodeToPaths

Source code

internal static void AddPolyNodeToPaths(PolyNode polynode, NodeType nt, List<List<IntPoint>> paths)
Arguments
TypeNameDescription
PolyNodepolynode
NodeTypent
List<List<IntPoint>>paths
OpenPathsFromPolyTree

Source code

public static List<List<IntPoint>> OpenPathsFromPolyTree(PolyTree polytree)
Arguments
TypeNameDescription
PolyTreepolytree
ClosedPathsFromPolyTree

Source code

public static List<List<IntPoint>> ClosedPathsFromPolyTree(PolyTree polytree)
Arguments
TypeNameDescription
PolyTreepolytree

Properties

ReverseSolution
public bool ReverseSolution { get; set; }
StrictlySimple
public bool StrictlySimple { 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.