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

RotateLine3D_AroundSegment
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Rotates a line in 3D around a segment (the axis) in 3D.
Syntax
C++
C#
void fil::RotateLine3D_AroundSegment ( const fil::Line3D& inLine3D, const fil::Segment3D& inAxisSegment, float inAngle, bool inInverse, fil::Line3D& outLine3D )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inLine3D | const Line3D& | ||
![]() |
inAxisSegment | const Segment3D& | The rotation axis | |
![]() |
inAngle | float | Clockwise angle of rotation | |
![]() |
inInverse | bool | Switches to the inverse operation | |
![]() |
outLine3D | Line3D& |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inLine3D and outLine3D
Read more about In-place Computation.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty segment on input in RotateLine3D_AroundSegment. |
DomainError | Indefinite line on input in RotateLine3D_AroundSegment. |