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


