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

RescaleCircle3D
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | Vision3DLite |
Changes radius of a circle in 3D and translates its center in relation to a reference point.
Syntax
C++
C#
void fil::RescaleCircle3D ( const fil::Circle3D& inCircle3D, ftl::Optional<const fil::Point3D&> inReferencePoint, float inScale, bool inInverse, fil::Circle3D& outCircle3D )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inCircle3D | const Circle3D& | ||
![]() |
inReferencePoint | Optional<const Point3D&> | NIL | The point to which the distance of the circle center is changed (circle center by default) |
![]() |
inScale | float | 1.0f | Scaling factor |
![]() |
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 | Indefinite circle on input in RescaleCircle3D. |
DomainError | Scale cannot be zero in an inverse scaling of a circle in RescaleCircle3D. |