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

RotatePlane_AroundSegment
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Rotates a plane in 3D around a segment (the axis) in 3D.
Syntax
C++
C#
void fil::RotatePlane_AroundSegment ( const fil::Plane3D& inPlane, const fil::Segment3D& inAxisSegment, float inAngle, bool inInverse, fil::Plane3D& outPlane )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPlane | const Plane3D& | ||
![]() |
inAxisSegment | const Segment3D& | The rotation axis | |
![]() |
inAngle | float | Clockwise angle of rotation | |
![]() |
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 | Empty segment on input in RotatePlane_AroundSegment. |
DomainError | Indefinite plane on input in RotatePlane_AroundSegment. |