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

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