UtilsPointInTriangle Method |
Returns true, if the point is inside the triangle.
Namespace: RAYLASE.Marker.VectorGraphicElementAssembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.22.0
Syntaxpublic static bool PointInTriangle(
dvec2 point,
dvec2 v1,
dvec2 v2,
dvec2 v3
)
Parameters
- point dvec2
- Point to test
- v1 dvec2
- Triangle corner.
- v2 dvec2
- Triangle corner.
- v3 dvec2
- Triangle corner.
Return Value
BooleanTrue, if the point is inside the triangle.
See Also