Struct Abc
Represents a three-axis rotational configuration in ABC coordinates.
public struct Abc
- Inherited Members
- Extension Methods
Constructors
Abc(Vec3d)
Creates a new ABC configuration from a 3D vector.
public Abc(Vec3d src)
Parameters
src
Vec3dThe source vector where X, Y, Z components map to A, B, C angles respectively
Abc(Abc)
Creates a new ABC configuration by copying another one.
public Abc(Abc src)
Parameters
src
AbcThe source ABC configuration to copy
Abc(double, double, double)
Ctor.
public Abc(double a = NaN, double b = NaN, double c = NaN)
Parameters
Abc((double a, double b, double c))
Creates a new ABC configuration from a tuple of angles.
public Abc((double a, double b, double c) src)
Parameters
Fields
a
The A-axis rotation angle.
public double a
Field Value
b
The B-axis rotation angle.
public double b
Field Value
c
The C-axis rotation angle.
public double c
Field Value
Properties
Tuple
Gets the ABC angles as a tuple.
public (double a, double b, double c) Tuple { get; }
Property Value
Methods
ToString()
Returns the fully qualified type name of this instance.
public override string ToString()
Returns
- string
The fully qualified type name.
ToVec3d()
Converts the ABC angles to a 3D vector.
public Vec3d ToVec3d()
Returns
- Vec3d
A vector where X, Y, Z components represent A, B, C angles respectively