You are here: Start » AVL.NET » Function Reference » Point3DGrid » Point3DGrid Spatial Transforms » 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 | |
|---|---|---|---|---|---|
![]() | inGrid | AvlNet.Point3DGrid | |||
![]() | inReferencePoint | AvlNet.Point3D | Point to which the distances will be changed. | ||
![]() | inScale | float | 1.0f | Scaling factor. Default value: 1.0f. | |
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outGrid | AvlNet.Point3DGrid |
Hardware Acceleration
This operation is optimized for SSE41 technology.
This operation is optimized for AVX2 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. |


