DVectorSafeThis Method

Safe access to the vector's components. If the index is out of range, a zero is returned.

Definition

Namespace: Austra.Library
Assembly: Austra.Library (in Austra.Library.dll) Version: 2.5.0+44e7797405725ef3cf24b3ff0eba94ce6c649601
C#
public double SafeThis(
	int index
)

Parameters

index  Int32
The index of the component.

Return Value

Double
The value at the given index, or zero, if index is out of range.

See Also