You are here: Start » FIL.NET » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » FIL.RescaleVector3D

FIL.RescaleVector3D

Lengthens or shortens a 3D vector relatively preserving its direction.

Namespace:FilNet
Assembly:FIL.NET.dll

Syntax

C++
C#
 
public static void RescaleVector3D
(
	FilNet.Vector3D inVector3D,
	float inScale,
	bool inInverse,
	out FilNet.Vector3D outVector3D
)

Parameters

Name Type Range Default Description
inVector3DFilNet.Vector3D
inScalefloat1.0fScaling factor. Default value: 1.0f.
inInverseboolSwitches to the inverse operation.
outVector3DFilNet.Vector3D

Errors

List of possible exceptions:

Error type Description
DomainError Scale cannot be zero in an inverse scaling of vector in RescaleVector3D.

See also