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

RotatePoint3D_AroundSegment
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Rotates a 3D point around a segment (the axis).
Syntax
C++
C#
void fil::RotatePoint3D_AroundSegment ( const fil::Point3D& inPoint3D, const fil::Segment3D& inAxisSegment, float inAngle, bool inInverse, fil::Point3D& outPoint3D, ftl::Optional<fil::Matrix&> outTransform = ftl::NIL )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPoint3D | const Point3D& | ||
![]() |
inAxisSegment | const Segment3D& | The rotation axis | |
![]() |
inAngle | float | Clockwise angle of rotation | |
![]() |
inInverse | bool | Switches to the inverse operation | |
![]() |
outPoint3D | Point3D& | ||
![]() |
outTransform | Optional<Matrix&> | NIL |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inPoint3D and outPoint3D
Read more about In-place Computation.
Optional Outputs
The computation of following outputs can be switched off by passing value ftl::NIL
to these parameters: outTransform.
Read more about Optional Outputs.