Table of Contents

Class Transform3D

Namespace
SearchAThing.Sci
Assembly
netcore-sci.dll

Use quaternion to append rotate transformations

public class Transform3D
Inheritance
Transform3D
Inherited Members

Remarks

Constructors

Transform3D()

instantiate an identity transformation

public Transform3D()

Remarks

Methods

Apply(Vector3D)

apply this transformation to given vector returning new one

public Vector3D Apply(Vector3D v)

Parameters

v Vector3D

vector to transform

Returns

Vector3D

Remarks

RotateAboutAxis(Vector3D, double)

add rotation about given axis of given angle to the current rotation matrix. given axis will subjected to normalization

public void RotateAboutAxis(Vector3D axis, double angleRad)

Parameters

axis Vector3D

custom rotation axis

angleRad double

rotation angle about given axis

Remarks

RotateAboutXAxis(double)

add rotation about X axis of given angle to the current rotation matrix

public void RotateAboutXAxis(double angleRad)

Parameters

angleRad double

rotation angle about X axis

Remarks

RotateAboutYAxis(double)

add rotation about Y axis of given angle to the current rotation matrix

public void RotateAboutYAxis(double angleRad)

Parameters

angleRad double

rotation angle about Y axis

Remarks

RotateAboutZAxis(double)

add rotation about z axis of given angle to the current rotation matrix

public void RotateAboutZAxis(double angleRad)

Parameters

angleRad double

rotation angle about Z axis

Remarks