Back to Aurora Vision Library website
You are here: Start » Function Reference » Point3DGrid » Point3DGrid Spatial Transforms » RescalePoint3DGrid
RescalePoint3DGrid
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Vision3DLite |
Changes the distances of grid points to a reference point.
Syntax
C++
C#
void avl::RescalePoint3DGrid ( const avl::Point3DGrid& inGrid, const avl::Point3D& inReferencePoint, float inScale, bool inInverse, avl::Point3DGrid& outGrid )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inGrid | const Point3DGrid& | |||
inReferencePoint | const Point3D& | Point to which the distances will be changed | ||
inScale | float | 1.0f | Scaling factor | |
inInverse | bool | Switches to the inverse operation | ||
outGrid | Point3DGrid& |
Hardware Acceleration
This operation is optimized for SSE41 technology.
This operation is optimized for AVX2 technology.
This operation is optimized for NEON technology.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Scale cannot be zero in an inverse rescaling of a point. |