You are here: Start » AVL.NET » Function Reference » Point3DGrid » Point3DGrid Spatial Transforms » 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

Hardware Acceleration

This operation is optimized for SSE41 technology.

This operation is optimized for AVX2 technology.

This operation is optimized for NEON technology.

Hardware acceleration settings may be manipulated with Settings class.

Errors

List of possible exceptions:

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

See also