Back to Adaptive Vision Library website

You are here: Start » Function Reference » Geometry 2D Spatial Transforms » RotatePointArray

RotatePointArray


Rotates an array of points clockwise around a center point.

Syntax

C++
C#
 
void avl::RotatePointArray
(
	const atl::Array<avl::Point2D>& inPoints,
	atl::Optional<const avl::Point2D&> inCenter,
	atl::real inAngle,
	bool inInverse,
	atl::Array<avl::Point2D>& outPoints
)

Parameters

Name Type Default Description
inPoints const Array<Point2D>&
inCenter Optional<const Point2D&> NIL Center of rotation (the mass center by default)
inAngle real Clockwise rotation angle
inInverse bool Switches to the inverse operation
outPoints Array<Point2D>&