Back to Aurora Vision Library website

You are here: Start » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » RescaleCircle3D

RescaleCircle3D


Header: AVL.h
Namespace: avl
Module: Vision3DLite

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
Input value inCircle3D const Circle3D&
Input value inReferencePoint Optional<const Point3D&> NIL The point to which the distance of the circle center is changed (circle center by default)
Input value inScale float 1.0f Scaling factor
Input value inInverse bool Switches to the inverse operation
Output value 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.