GeometryContainsPointInPolygon Method |
Determine if coordinates are included in the specified polygon.
Namespace:
RootPro.RootProCAD.Geometry
Assembly:
RootPro.RootProCAD.Library (in RootPro.RootProCAD.Library.dll) Version: 12.0.0.0 (12.0.0.0)
Syntax public abstract int ContainsPointInPolygon(
Point2d point,
Point2d[] polygon
)
Public MustOverride Function ContainsPointInPolygon (
point As Point2d,
polygon As Point2d()
) As Integer
Parameters
- point
- Type: RootPro.RootProCAD.GeometryPoint2d
coordinates - polygon
- Type: RootPro.RootProCAD.GeometryPoint2d
an array of Point2d representing a polygon
Return Value
Type:
Int32- 0 - polygon.
- ± 1 - on the polygon line.
- ± 2 - polygon.
- ± 3 - Line on double loop.
- ± 4 - In a double loop.
See Also