![]() |
![]() |
![]() |
Del.» TIntPoint = record X, Y: int64; end;
C++ » struct IntPoint { long64 X; long64 Y; ... };
C# » public class IntPoint { public Int64 X; { get; set; } public Int64 Y; { get; set; } ... };
The IntPoint structure is used to represent all vertices in the Clipper Library. The integer storage type has been deliberately chosen to preserve numerical robustness. (Early versions of the library used floating point coordinates, but it became apparent that floating point imprecision would always cause occasional errors.)
A sequence of IntPoints are contained within a Polygon structure to represent a single polygon contour.
Users wishing to clip or offset polygons containing floating point coordinates need to use appropriate scaling (see notes on rounding) when converting these values to and from IntPoints.
Rounding, long64, Polygon, Polygons
Copyright ©2010-2013 Angus Johnson - Clipper Ver 5.1.6 - Help file built on 24-May-2013