Click or drag to resize

ClipperPointInPolygon(PointD, PathD, Int32) Method

Determines the position of a floating-point point relative to a floating-point polygon.

Namespace: Clipper2Lib
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public static PointInPolygonResult PointInPolygon(
	PointD pt,
	PathD polygon,
	int precision = 2
)

Parameters

pt  PointD
The point to test.
polygon  PathD
The polygon to test against.
precision  Int32  (Optional)
The decimal precision used for conversion during the test.

Return Value

PointInPolygonResult
The position of the point relative to the polygon.
See Also