Click or drag to resize

UtilsGetAngleAtVertex Method

Returns the (unsigned) angle at the vertex enclosed by the two legs from the vertex to the first and to the third point.

Namespace: RAYLASE.Marker.VectorGraphicElement
Assembly: RAYLASE.Marker.VectorGraphicElement (in RAYLASE.Marker.VectorGraphicElement.dll) Version: 2.57.0
Syntax
C#
public static double? GetAngleAtVertex(
	dvec2 first,
	dvec2 vertex,
	dvec2 third
)

Parameters

first  dvec2
End point of the first leg.
vertex  dvec2
The vertex, i.e. the point the angle is measured at.
third  dvec2
End point of the second leg.

Return Value

NullableDouble
The angle in radians in the range [0, π]. Null if one of the legs has zero length.
See Also