Back to FabImage Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » RescalePoint3DArray

RescalePoint3DArray
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Changes the distances of array points to a reference point.
Syntax
C++
C#
void fil::RescalePoint3DArray ( const ftl::Array<fil::Point3D>& inPoints3D, const fil::Point3D& inReferencePoint, float inScale, bool inInverse, ftl::Array<fil::Point3D>& outPoints3D )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPoints3D | const Array<Point3D>& | ||
![]() |
inReferencePoint | const Point3D& | Point to which the distances will be changed | |
![]() |
inScale | float | 1.0f | Scaling factor |
![]() |
inInverse | bool | Switches to the inverse operation | |
![]() |
outPoints3D | Array<Point3D>& |
Hardware Acceleration
This operation is optimized for SSE2 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. |