Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ PEXRotate(3) — Open3D 4.96

Media Vault

Software Library

Restoration Projects

Artifacts Sought

PEXRotate(3)  —  Subroutines

Name

PEXRotate

Synopsis

int PEXRotate(int axis, double angle, PEXMatrix matrix_return)

Arguments

axisone of PEXXAxis, PEXYAxis, PEXZAxis

angleangle of the rotation in radians

matrix_return
matrix into which rotation matrix is stored

Returns

Zero if successful; otherwise, one of the following:

PEXBadAxis - invalid axis value specified

Description

This function creates a rotation matrix about the specified axis. 

The resulting matrix rotates by the angle specified in radians about the origin. 

The function returns unsuccessfully if axis is not one defined. 

Errors

None

See Also

PEXRotate2D, PEXRotateGeneral

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026