You are here: Start » AVL.NET » AVL.RescalePoint3DGrid

AVL.RescalePoint3DGrid

Changes the distances of grid points to a reference point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void RescalePoint3DGrid
(
	AvlNet.Point3DGrid inGrid,
	AvlNet.Point3D inReferencePoint,
	float inScale,
	bool inInverse,
	AvlNet.Point3DGrid outGrid
)

Parameters

Name Type Range Default Description
inGridAvlNet.Point3DGrid
inReferencePointAvlNet.Point3DPoint to which the distances will be changed.
inScalefloat1.0fScaling factor. Default value: 1.0f.
inInverseboolSwitches to the inverse operation.
outGridAvlNet.Point3DGrid

Errors

List of possible exceptions:

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

See also