Table of Contents

Struct Abc

Namespace
Hi.Numerical.Xyzabc
Assembly
HiMech.dll

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 Vec3d

The 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 Abc

The source ABC configuration to copy

Abc(double, double, double)

Ctor.

public Abc(double a = NaN, double b = NaN, double c = NaN)

Parameters

a double
b double
c double

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

src (double, double, double)

The source tuple containing (a, b, c) angles

Fields

a

The A-axis rotation angle.

public double a

Field Value

double

b

The B-axis rotation angle.

public double b

Field Value

double

c

The C-axis rotation angle.

public double c

Field Value

double

Properties

Tuple

Gets the ABC angles as a tuple.

public (double a, double b, double c) Tuple { get; }

Property Value

(double, double, double)

A tuple containing the (a, b, c) angles

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