Click or drag to resize

AngleInPlaneConstraintGetAngleInPlane Method

Gets the angle formed by a projection of a vector into an axis-aligned plane. The angle is measured from the first axis defining the plane toward the second axis defining the plane.

Namespace:  AGI.Foundation.Access.Constraints
Assembly:  AGI.Foundation.Platforms (in AGI.Foundation.Platforms.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax
public static double GetAngleInPlane(
	UnitCartesian vector,
	PlaneIndicator plane
)

Parameters

vector
Type: AGI.Foundation.CoordinatesUnitCartesian
The vector that is projected in the plane.
plane
Type: AGI.Foundation.Access.ConstraintsPlaneIndicator
The axis-aligned plane in which to project the vector.

Return Value

Type: Double
The angle from the first axis defining the plane to the projection of the vector into the plane. Positive is toward the second axis defining the plane.
See Also