Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 3D Spatial Transforms » RescalePoint3DArray
RescalePoint3DArray
Changes the distances of array points to a reference point.
Syntax
C++
C#
void avl::RescalePoint3DArray ( const atl::Array<avl::Point3D>& inPoints, const avl::Point3D& inReferencePoint, atl::real inScale, bool inInverse, atl::Array<avl::Point3D>& outPoints )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPoints | const Array<Point3D>& | ||
![]() |
inReferencePoint | const Point3D& | Point to which the distances will be changed | |
![]() |
inScale | real | 1.0f | Scaling factor |
![]() |
inInverse | bool | Switches to the inverse operation | |
![]() |
outPoints | Array<Point3D>& |
Errors
| Error type | Description |
|---|---|
| DomainError | inScale cannot be zero in an inverse rescaling of a point in RescalePoint3DArray. |


