Back to Aurora Vision Library website

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

RotatePlane_AroundSegment


Header: AVL.h
Namespace: avl
Module: Vision3DLite

Rotates a plane in 3D around a segment (the axis) in 3D.

Syntax

C++
C#
 
void avl::RotatePlane_AroundSegment
(
	const avl::Plane3D& inPlane,
	const avl::Segment3D& inAxisSegment,
	float inAngle,
	bool inInverse,
	avl::Plane3D& outPlane
)

Parameters

Name Type Default Description
Input value inPlane const Plane3D&
Input value inAxisSegment const Segment3D& The rotation axis
Input value inAngle float Clockwise angle of rotation
Input value inInverse bool Switches to the inverse operation
Output value outPlane Plane3D&

In-place Processing

This function supports in-place data processing - you can pass the same reference to inPlane and outPlane

Read more about In-place Computation.

Errors

List of possible exceptions:

Error type Description
DomainError Empty segment on input in RotatePlane_AroundSegment.
DomainError Indefinite plane on input in RotatePlane_AroundSegment.