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
Vector3Dvector to transform
Returns
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
Remarks
RotateAboutXAxis(double)
add rotation about X axis of given angle to the current rotation matrix
public void RotateAboutXAxis(double angleRad)
Parameters
angleRad
doublerotation 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
doublerotation 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
doublerotation angle about Z axis