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
|
Type |
Name |
Methods |
|---|---|---|
|
|
|
|
|
|
|
|
Methods
Protected methods
|
Returns |
Name |
|---|---|
|
|
() |
Public methods
|
Returns |
Name |
|---|---|
|
|
( |
Internal methods
|
Returns |
Name |
|---|---|
|
|
(
outRec) |
|
|
(ref
pt1, ref
pt2) |
Internal Static methods
Public Static methods
|
Returns |
Name |
|---|---|
|
|
(
> poly) |
|
> |
( |
|
>> |
( |
|
>> |
(
polytree) |
|
>> |
(
> poly1,
> poly2) |
|
>> |
( |
|
>> |
(
polytree) |
|
|
(
> poly) |
|
|
(
pt,
> path) |
|
>> |
(
polytree) |
|
|
(
>> polys) |
|
>> |
( |
|
>> |
( |
Details
Inheritance
Nested types
Enums
-
NodeType
Constructors
Clipper [1/2]
Source code
public Clipper()
Clipper [2/2]
Source code
public Clipper(int InitOptions)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
InitOptions |
Methods
Reset
Source code
protected override void Reset()
Execute [1/6]
Source code
public bool Execute(ClipType clipType, List<List<IntPoint>> solution)
Arguments
Execute [2/6]
Source code
public bool Execute(ClipType clipType, List<List<IntPoint>> solution, PolyFillType FillType)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
clipType |
|
|
>> |
solution |
|
|
|
FillType |
Execute [3/6]
Source code
public bool Execute(ClipType clipType, PolyTree polytree)
Arguments
Execute [4/6]
Source code
public bool Execute(ClipType clipType, PolyTree polytree, PolyFillType FillType)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
clipType |
|
|
|
polytree |
|
|
|
FillType |
Execute [5/6]
Source code
public bool Execute(ClipType clipType, List<List<IntPoint>> solution, PolyFillType subjFillType, PolyFillType clipFillType)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
clipType |
|
|
>> |
solution |
|
|
|
subjFillType |
|
|
|
clipFillType |
Execute [6/6]
Source code
public bool Execute(ClipType clipType, PolyTree polytree, PolyFillType subjFillType, PolyFillType clipFillType)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
clipType |
|
|
|
polytree |
|
|
|
subjFillType |
|
|
|
clipFillType |
FixHoleLinkage
Source code
internal void FixHoleLinkage(OutRec outRec)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
outRec |
SwapPoints
Source code
internal void SwapPoints(ref IntPoint pt1, ref IntPoint pt2)
Arguments
Round
Source code
internal static long Round(double value)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
value |
ReversePaths
Source code
public static void ReversePaths(List<List<IntPoint>> polys)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
>> |
polys |
Orientation
Source code
public static bool Orientation(List<IntPoint> poly)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
> |
poly |
PointInPolygon
Source code
public static int PointInPolygon(IntPoint pt, List<IntPoint> path)
Arguments
Area
Source code
public static double Area(List<IntPoint> poly)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
> |
poly |
SimplifyPolygon [1/2]
Source code
public static List<List<IntPoint>> SimplifyPolygon(List<IntPoint> poly)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
> |
poly |
SimplifyPolygon [2/2]
Source code
public static List<List<IntPoint>> SimplifyPolygon(List<IntPoint> poly, PolyFillType fillType)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
> |
poly |
|
|
|
fillType |
SimplifyPolygons [1/2]
Source code
public static List<List<IntPoint>> SimplifyPolygons(List<List<IntPoint>> polys)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
>> |
polys |
SimplifyPolygons [2/2]
Source code
public static List<List<IntPoint>> SimplifyPolygons(List<List<IntPoint>> polys, PolyFillType fillType)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
>> |
polys |
|
|
|
fillType |
CleanPolygon [1/2]
Source code
public static List<IntPoint> CleanPolygon(List<IntPoint> path)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
> |
path |
CleanPolygon [2/2]
Source code
public static List<IntPoint> CleanPolygon(List<IntPoint> path, double distance)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
> |
path |
|
|
|
distance |
CleanPolygons [1/2]
Source code
public static List<List<IntPoint>> CleanPolygons(List<List<IntPoint>> polys)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
>> |
polys |
CleanPolygons [2/2]
Source code
public static List<List<IntPoint>> CleanPolygons(List<List<IntPoint>> polys, double distance)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
>> |
polys |
|
|
|
distance |
Minkowski
Source code
internal static List<List<IntPoint>> Minkowski(List<IntPoint> pattern, List<IntPoint> path, bool IsSum, bool IsClosed)
Arguments
MinkowskiSum [1/2]
Source code
public static List<List<IntPoint>> MinkowskiSum(List<IntPoint> pattern, List<IntPoint> path, bool pathIsClosed)
Arguments
MinkowskiSum [2/2]
Source code
public static List<List<IntPoint>> MinkowskiSum(List<IntPoint> pattern, List<List<IntPoint>> paths, bool pathIsClosed)
Arguments
MinkowskiDiff
Source code
public static List<List<IntPoint>> MinkowskiDiff(List<IntPoint> poly1, List<IntPoint> poly2)
Arguments
PolyTreeToPaths
Source code
public static List<List<IntPoint>> PolyTreeToPaths(PolyTree polytree)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
polytree |
AddPolyNodeToPaths
Source code
internal static void AddPolyNodeToPaths(PolyNode polynode, NodeType nt, List<List<IntPoint>> paths)
Arguments
OpenPathsFromPolyTree
Source code
public static List<List<IntPoint>> OpenPathsFromPolyTree(PolyTree polytree)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
polytree |
ClosedPathsFromPolyTree
Source code
public static List<List<IntPoint>> ClosedPathsFromPolyTree(PolyTree polytree)
Arguments
|
Type |
Name |
Description |
|---|---|---|
|
|
polytree |
Properties
ReverseSolution
public bool ReverseSolution { get; set; }
StrictlySimple
public bool StrictlySimple { get; set; }
Generated with ModularDoc