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

RotateSegment3D_AroundSegment
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Rotates a segment in 3D around a segment (the axis) in 3D.
Syntax
C++
C#
void fil::RotateSegment3D_AroundSegment ( const fil::Segment3D& inSegment3D, const fil::Segment3D& inAxisSegment, float inAngle, bool inInverse, fil::Segment3D& outSegment3D )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inSegment3D | const Segment3D& | ||
![]() |
inAxisSegment | const Segment3D& | The rotation axis | |
![]() |
inAngle | float | Clockwise angle of rotation | |
![]() |
inInverse | bool | Switches to the inverse operation | |
![]() |
outSegment3D | Segment3D& |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inSegment3D and outSegment3D
Read more about In-place Computation.