Class AxisAngle4d
Axis(3d) and angle(1d)
public class AxisAngle4d : IFormattable
- Inheritance
-
AxisAngle4d
- Implements
- Inherited Members
- Extension Methods
Constructors
AxisAngle4d(Vec3d, double)
Initializes a new instance of the AxisAngle4d class with the specified axis and angle.
public AxisAngle4d(Vec3d axis, double angle_rad)
Parameters
AxisAngle4d(string)
Initializes a new instance of the AxisAngle4d class from a string representation.
public AxisAngle4d(string s)
Parameters
sstringThe string representation of the axis-angle in the format "(axis,angle)".
Properties
Angle_rad
Angle in radian.
public double Angle_rad { get; set; }
Property Value
Axis
Gets or sets the rotation axis.
public Vec3d Axis { get; set; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.
ToString(string, IFormatProvider)
Formats the value of the current instance using the specified format.
public string ToString(string format, IFormatProvider formatProvider)
Parameters
formatstringThe format to use.
-or-
A null reference (
Nothingin Visual Basic) to use the default format defined for the type of the IFormattable implementation.formatProviderIFormatProviderThe provider to use to format the value.
-or-
A null reference (
Nothingin Visual Basic) to obtain the numeric format information from the current locale setting of the operating system.
Returns
- string
The value of the current instance in the specified format.