Back to Aurora Vision Library website
You are here: Start » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » RescalePlane
RescalePlane
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | Vision3DLite |
Changes the input plane distance to a reference point.
Syntax
C++
C#
void avl::RescalePlane ( const avl::Plane3D& inPlane, const avl::Point3D& inReferencePoint, float inScale, bool inInverse, avl::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. |