Click or drag to resize

CMATHNormalise3D Method

Scale a vector to unit length.

Namespace:  GeoEngine.Core.GXNetX
Assembly:  geoengine.core.gxnetx (in geoengine.core.gxnetx.dll) Version: 2024.2.0.25
Syntax
public static void Normalise3D(
	CGXNETCore gxNetShared,
	ref double x,
	ref double y,
	ref double z
)

public static void Normalise3D(
	CGXNETCore gxNetShared,
	ref double x,
	ref double y,
	ref double z
)

Parameters

gxNetShared
Type: GeoEngine.Core.GXNetXCGXNETCore
A shared CGXNETCore
x
Type: SystemDouble
X component (altered)
y
Type: SystemDouble
Y component (altered)
z
Type: SystemDouble
Z component (altered)
Remarks
Divides each component by the vector magnitude.
See Also