Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 3D Spatial Transforms » RescaleCircle3D
RescaleCircle3D
Changes radius of a circle in 3D and translates its center in relation to a reference point.
Syntax
C++
C#
void avl::RescaleCircle3D ( const avl::Circle3D& inCircle3D, atl::Optional<const avl::Point3D&> inReferencePoint, float inScale, bool inInverse, avl::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& |
Errors
Error type | Description |
---|---|
DomainError | inScale cannot be zero in an inverse scaling in RescaleCircle3D. |