Programming Reference for VirtualLab Fusion  2025.1
Loading...
Searching...
No Matches
SimpleRotation Class Reference

This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
Class for describing a rotation about one of the coordinate axes or by a certain predefined angle More...

Inheritance diagram for SimpleRotation:

Public Member Functions

override object Clone ()
 Creates deep copy.
 
override bool Equals (object otherObject, EqualityIntent equalityIntent)
 Determines whether the specified Object is equal to this instance.
 
 SimpleRotation (RotationAxisOrAngleName rotationAxisOrAngleName, double rotationAngleValue)
 Constructor getting the RotationAxisOrAngleName and the value of the rotation angle.
 
 SimpleRotation (SimpleRotation simpleRotation)
 Copy constructor.
 
override string ToString ()
 Overriden string representation of this object.
 

Properties

double RotationAngleValue [get, set]
 Get or set the rotation angle value in radian.
 
RotationAxisOrAngleName RotationAxisOrAngleName [get]
 Get the rotation axis or angle name.
 

Detailed Description

This class is subject to change. Programs using this class may require changes with a new version of VirtualLab.
Class for describing a rotation about one of the coordinate axes or by a certain predefined angle

Constructor & Destructor Documentation

◆ SimpleRotation() [1/2]

SimpleRotation ( RotationAxisOrAngleName  rotationAxisOrAngleName,
double  rotationAngleValue 
)

Constructor getting the RotationAxisOrAngleName and the value of the rotation angle.

Parameters
rotationAxisOrAngleNameRotation axis or name of the rotation angle.
rotationAngleValueValue of the rotation angle in radian.

◆ SimpleRotation() [2/2]

SimpleRotation ( SimpleRotation  simpleRotation)

Copy constructor.

Parameters
simpleRotationSimple rotation to copy

Member Function Documentation

◆ Clone()

override object Clone ( )

Creates deep copy.

Returns
Clone of this

◆ Equals()

override bool Equals ( object  otherObject,
EqualityIntent  equalityIntent 
)

Determines whether the specified Object is equal to this instance.

Parameters
otherObjectThe Object to compare with this instance.
equalityIntentDefines what kind of equality you want to check when comparing two objects, for example all values or physical equality.
Returns
true if the specified Object is equal to this instance; otherwise, false.

◆ ToString()

override string ToString ( )

Overriden string representation of this object.

Returns
string representation of this object