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
)
Public Shared Function EntityInsidePolygon (
Vertexes As List(Of Vector2),
Entity As EntityObject
) As Boolean
public:
static bool EntityInsidePolygon(
List<Vector2>^ Vertexes,
EntityObject^ Entity
)
static member EntityInsidePolygon :
Vertexes : List<Vector2> *
Entity : EntityObject -> bool
STATIC METHOD EntityInsidePolygon(
Vertexes AS List<Vector2>,
Entity AS EntityObject
) AS LOGIC
Parameters
- Vertexes
- Type: System.Collections.GenericListVector2
The vertexes of the polygon. - Entity
- Type: DXFReaderNET.EntitiesEntityObject
The entity.
Return Value
Type:
BooleanTrue if the entity is inside the poligon.
See Also