You are here: Start » AVL.NET » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » AVL.RescalePoint3D

AVL.RescalePoint3D

Changes the distance of a point to a reference point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RescalePoint3D
(
	AvlNet.Point3D inPoint3D,
	AvlNet.Point3D inReferencePoint,
	float inScale,
	bool inInverse,
	out AvlNet.Point3D outPoint3D
)

Parameters

Name Type Range Default Description
inPoint3DAvlNet.Point3D
inReferencePointAvlNet.Point3DPoint to which the distance will be changed.
inScalefloat1.0fScaling factor. Default value: 1.0f.
inInverseboolSwitches to the inverse operation.
outPoint3DAvlNet.Point3D

Errors

List of possible exceptions:

Error type Description
DomainError Scale cannot be zero in an inverse rescaling of a point.

See also