Back to FabImage Library website

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

RotatePoint3D


Header:FIL.h
Namespace:fil

Rotates a 3D point around an axis in 3D.

Syntax

C++
C#
 
void fil::RotatePoint3D
(
	const fil::Point3D& inPoint3D,
	const fil::Line3D& inAxis,
	float inAngle,
	bool inInverse,
	fil::Point3D& outPoint3D
)

Parameters

Name Type Default Description
inPoint3D const Point3D&
inAxis const Line3D& The rotation axis
inAngle float Clockwise angle of rotation
inInverse bool Switches to the inverse operation
outPoint3D Point3D&