Click or drag to resize

CalculationsDistance Method (Vector3D, Vector3D, Axis)

Calclulates the distance between the specified points in the specified axis.

Namespace:  LightBuzz
Assembly:  LightBuzz (in LightBuzz.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public static float Distance(
	Vector3D start,
	Vector3D end,
	Axis axis
)

Parameters

start
Type: LightBuzzVector3D
The first point/vector.
end
Type: LightBuzzVector3D
The second point/vector.
axis
Type: LightBuzzAxis
The axis to measure the distance in.

Return Value

Type: Single
The distance between the vectors in the measurement units used.
See Also