MathHelperPolygonInPolygon Method
|
Checks if a polygon is full contained in a polygon.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public static bool PolygonInPolygon(
Vector2[] ExternalPolygon,
Vector2[] InternalPolygon
)
Public Shared Function PolygonInPolygon (
ExternalPolygon As Vector2(),
InternalPolygon As Vector2()
) As Boolean
public:
static bool PolygonInPolygon(
array<Vector2>^ ExternalPolygon,
array<Vector2>^ InternalPolygon
)
static member PolygonInPolygon :
ExternalPolygon : Vector2[] *
InternalPolygon : Vector2[] -> bool
STATIC METHOD PolygonInPolygon(
ExternalPolygon AS Vector2[],
InternalPolygon AS Vector2[]
) AS LOGIC
Parameters
- ExternalPolygon
- Type: DXFReaderNETVector2
The vertexes of the external polygon. - InternalPolygon
- Type: DXFReaderNETVector2
The vertexes of the internal polygon.
Return Value
Type:
BooleanTrue if the internal polygon is full contained in the external.
See Also