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

RescalePlane
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Changes the input plane distance to a reference point.
Syntax
C++
C#
void fil::RescalePlane ( const fil::Plane3D& inPlane, const fil::Point3D& inReferencePoint, float inScale, bool inInverse, fil::Plane3D& outPlane )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPlane | const Plane3D& | ||
![]() |
inReferencePoint | const Point3D& | The point to which the distance of plane is changed | |
![]() |
inScale | float | 1.0f | Scaling factor |
![]() |
inInverse | bool | Switches to the inverse operation | |
![]() |
outPlane | Plane3D& |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inPlane and outPlane
Read more about In-place Computation.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Indefinite plane on input in RescalePlane. |
DomainError | Scale cannot be zero in an inverse rescaling of a plane in RescalePlane. |