Click or drag to resize

MathHelperEntityInsidePolygon Method

Checks if an entity is contained in a list of vectors representing a polygon.

Namespace:  DXFReaderNET
Assembly:  DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax
public static bool EntityInsidePolygon(
	List<Vector2> Vertexes,
	EntityObject Entity
)

Parameters

Vertexes
Type: System.Collections.GenericListVector2
The vertexes of the polygon.
Entity
Type: DXFReaderNET.EntitiesEntityObject
The entity.

Return Value

Type: Boolean
True if the entity is inside the poligon.
See Also