Click or drag to resize

Clipper Methods

The Clipper type exposes the following members.

Methods
 NameDescription
Public methodStatic memberAddPolyNodeToPathsD Adds a floating-point polypath and its descendants to a path collection.
Public methodStatic memberArea(Path64) Calculates the signed area of an integer path.
Public methodStatic memberArea(PathD) Calculates the signed area of a floating-point path.
Public methodStatic memberArea(Paths64) Calculates the signed area of integer paths.
Public methodStatic memberArea(PathsD) Calculates the signed area of floating-point paths.
Public methodStatic memberBooleanOp(ClipType, Paths64, Paths64, FillRule) Executes a boolean operation on integer path collections.
Public methodStatic memberBooleanOp(ClipType, Paths64, Paths64, PolyTree64, FillRule) Executes a boolean operation on integer path collections and stores the result in a polytree.
Public methodStatic memberBooleanOp(ClipType, PathsD, PathsD, FillRule, Int32) Executes a boolean operation on floating-point path collections.
Public methodStatic memberBooleanOp(ClipType, PathsD, PathsD, PolyTreeD, FillRule, Int32) Executes a boolean operation on floating-point path collections and stores the result in a polytree.
Public methodStatic memberDifference(Paths64, Paths64, FillRule) Returns the difference of two integer path collections.
Public methodStatic memberDifference(PathsD, PathsD, FillRule, Int32) Returns the difference of two floating-point path collections.
Public methodStatic memberDistanceSqr Returns the squared distance between two integer points.
Public methodStatic memberEllipse(Point64, Double, Double, Int32) Creates an integer ellipse approximation.
Public methodStatic memberEllipse(PointD, Double, Double, Int32) Creates a floating-point ellipse approximation.
Public methodStatic memberGetBounds(Path64) Gets the bounds of an integer path.
Public methodStatic memberGetBounds(PathD) Gets the bounds of a floating-point path.
Public methodStatic memberGetBounds(Paths64) Gets the bounds of integer paths.
Public methodStatic memberGetBounds(PathsD) Gets the bounds of floating-point paths.
Public methodStatic memberInflatePaths(Paths64, Double, JoinType, EndType, Double, Double) Offsets integer paths by the specified delta.
Public methodStatic memberInflatePaths(PathsD, Double, JoinType, EndType, Double, Int32, Double) Offsets floating-point paths by the specified delta.
Public methodStatic memberInflateRect(Rect64, Int32, Int32) Inflates an integer rectangle by the specified amounts.
Public methodStatic memberInflateRect(RectD, Double, Double) Inflates a floating-point rectangle by the specified amounts.
Public methodStatic memberIntersect(Paths64, Paths64, FillRule) Returns the intersection of two integer path collections.
Public methodStatic memberIntersect(PathsD, PathsD, FillRule, Int32) Returns the intersection of two floating-point path collections.
Public methodStatic memberIsPositive(Path64) Determines whether an integer polygon has positive orientation.
Public methodStatic memberIsPositive(PathD) Determines whether a floating-point polygon has positive orientation.
Public methodStatic memberMakePath(Double) Creates a floating-point path from an array of coordinates.
Public methodStatic memberMakePath(Int32) Creates an integer path from an array of integer coordinates.
Public methodStatic memberMakePath(Int64) Creates an integer path from an array of long coordinates.
Public methodStatic memberMidPoint(Point64, Point64) Returns the midpoint between two integer points.
Public methodStatic memberMidPoint(PointD, PointD) Returns the midpoint between two floating-point points.
Public methodStatic memberMinkowskiDiff(Path64, Path64, Boolean) Returns the Minkowski difference of two integer paths.
Public methodStatic memberMinkowskiDiff(PathD, PathD, Boolean) Returns the Minkowski difference of two floating-point paths.
Public methodStatic memberMinkowskiSum(Path64, Path64, Boolean) Returns the Minkowski sum of two integer paths.
Public methodStatic memberMinkowskiSum(PathD, PathD, Boolean) Returns the Minkowski sum of two floating-point paths.
Public methodStatic memberOffsetPath Offsets an integer path by the specified translation.
Public methodStatic memberPath64 Converts a floating-point path to an integer path without scaling.
Public methodStatic memberPath64ToString Converts an integer path to a string.
Public methodStatic memberPathD Converts an integer path to a floating-point path without scaling.
Public methodStatic memberPathDToString Converts a floating-point path to a string.
Public methodStatic memberPaths64 Converts floating-point paths to integer paths without scaling.
Public methodStatic memberPaths64ToString Converts integer paths to a string.
Public methodStatic memberPathsD Converts integer paths to floating-point paths without scaling.
Public methodStatic memberPathsDToString Converts floating-point paths to a string.
Public methodStatic memberPerpendicDistFromLineSqrd(Point64, Point64, Point64) Returns the squared perpendicular distance from an integer point to a line.
Public methodStatic memberPerpendicDistFromLineSqrd(PointD, PointD, PointD) Returns the squared perpendicular distance from a floating-point point to a line.
Public methodStatic memberPointInPolygon(Point64, Path64) Determines the position of an integer point relative to an integer polygon.
Public methodStatic memberPointInPolygon(PointD, PathD, Int32) Determines the position of a floating-point point relative to a floating-point polygon.
Public methodStatic memberPointsNearEqual Determines whether two floating-point points are within a squared distance threshold.
Public methodStatic memberPolyTreeToPaths64 Flattens an integer polytree into paths.
Public methodStatic memberPolyTreeToPathsD Flattens a floating-point polytree into paths.
Public methodStatic memberRamerDouglasPeucker(Path64, Double) Simplifies an integer path using the Ramer-Douglas-Peucker algorithm.
Public methodStatic memberRamerDouglasPeucker(PathD, Double) Simplifies a floating-point path using the Ramer-Douglas-Peucker algorithm.
Public methodStatic memberRamerDouglasPeucker(Paths64, Double) Simplifies integer paths using the Ramer-Douglas-Peucker algorithm.
Public methodStatic memberRamerDouglasPeucker(PathsD, Double) Simplifies floating-point paths using the Ramer-Douglas-Peucker algorithm.
Public methodStatic memberRectClip(Rect64, Path64) Clips an integer path to the specified rectangle.
Public methodStatic memberRectClip(Rect64, Paths64) Clips integer paths to the specified rectangle.
Public methodStatic memberRectClip(RectD, PathD, Int32) Clips a floating-point path to the specified rectangle.
Public methodStatic memberRectClip(RectD, PathsD, Int32) Clips floating-point paths to the specified rectangle.
Public methodStatic memberRectClipLines(Rect64, Path64) Clips an integer polyline path to the specified rectangle.
Public methodStatic memberRectClipLines(Rect64, Paths64) Clips integer polyline paths to the specified rectangle.
Public methodStatic memberRectClipLines(RectD, PathD, Int32) Clips a floating-point polyline path to the specified rectangle.
Public methodStatic memberRectClipLines(RectD, PathsD, Int32) Clips floating-point polyline paths to the specified rectangle.
Public methodStatic memberReversePath(Path64) Returns a reversed copy of an integer path.
Public methodStatic memberReversePath(PathD) Returns a reversed copy of a floating-point path.
Public methodStatic memberReversePaths(Paths64) Returns reversed copies of integer paths.
Public methodStatic memberReversePaths(PathsD) Returns reversed copies of floating-point paths.
Public methodStatic memberScalePath(Path64, Double) Scales an integer path.
Public methodStatic memberScalePath(PathD, Double) Scales a floating-point path.
Public methodStatic memberScalePath64 Scales and converts a floating-point path to an integer path.
Public methodStatic memberScalePathD Scales and converts an integer path to a floating-point path.
Public methodStatic memberScalePaths(Paths64, Double) Scales integer paths.
Public methodStatic memberScalePaths(PathsD, Double) Scales floating-point paths.
Public methodStatic memberScalePaths64 Scales and converts floating-point paths to integer paths.
Public methodStatic memberScalePathsD Scales and converts integer paths to floating-point paths.
Public methodStatic memberScalePoint64 Scales an integer point and returns an integer point.
Public methodStatic memberScalePointD Scales an integer point and returns a floating-point point.
Public methodStatic memberScaleRect Scales a floating-point rectangle and returns an integer rectangle.
Public methodStatic memberShowPolyTreeStructure(PolyTree64) Writes the structure of an integer polytree to the console.
Public methodStatic memberShowPolyTreeStructure(PolyTreeD) Writes the structure of a floating-point polytree to the console.
Public methodStatic memberSimplifyPath(Path64, Double, Boolean) Simplifies an integer path by removing redundant vertices.
Public methodStatic memberSimplifyPath(PathD, Double, Boolean) Simplifies a floating-point path by removing redundant vertices.
Public methodStatic memberSimplifyPaths(Paths64, Double, Boolean) Simplifies integer paths by removing redundant vertices.
Public methodStatic memberSimplifyPaths(PathsD, Double, Boolean) Simplifies floating-point paths by removing redundant vertices.
Public methodStatic memberSqr(Double) Returns the square of a floating-point value.
Public methodStatic memberSqr(Int64) Returns the square of an integer value.
Public methodStatic memberStripDuplicates Removes duplicate points from an integer path.
Public methodStatic memberStripNearDuplicates Removes near-duplicate points from a floating-point path.
Public methodStatic memberTranslatePath(Path64, Int64, Int64) Translates an integer path.
Public methodStatic memberTranslatePath(PathD, Double, Double) Translates a floating-point path.
Public methodStatic memberTranslatePaths(Paths64, Int64, Int64) Translates integer paths.
Public methodStatic memberTranslatePaths(PathsD, Double, Double) Translates floating-point paths.
Public methodStatic memberTrimCollinear(Path64, Boolean) Removes collinear vertices from an integer path.
Public methodStatic memberTrimCollinear(PathD, Int32, Boolean) Removes collinear vertices from a floating-point path.
Public methodStatic memberUnion(Paths64, FillRule) Returns the union of an integer path collection.
Public methodStatic memberUnion(PathsD, FillRule) Returns the union of a floating-point path collection.
Public methodStatic memberUnion(Paths64, Paths64, FillRule) Returns the union of two integer path collections.
Public methodStatic memberUnion(PathsD, PathsD, FillRule, Int32) Returns the union of two floating-point path collections.
Public methodStatic memberXor(Paths64, Paths64, FillRule) Returns the exclusive-or of two integer path collections.
Public methodStatic memberXor(PathsD, PathsD, FillRule, Int32) Returns the exclusive-or of two floating-point path collections.
Top
See Also