Table of Contents

Class AxisAngle4d

Namespace
Hi.Geom
Assembly
HiGeom.dll

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

axis Vec3d

The rotation axis.

angle_rad double

The rotation angle in radians.

AxisAngle4d(string)

Initializes a new instance of the AxisAngle4d class from a string representation.

public AxisAngle4d(string s)

Parameters

s string

The 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

double

Axis

Gets or sets the rotation axis.

public Vec3d Axis { get; set; }

Property Value

Vec3d

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

format string

The format to use.

-or-

A null reference (Nothing in Visual Basic) to use the default format defined for the type of the IFormattable implementation.

formatProvider IFormatProvider

The provider to use to format the value.

-or-

A null reference (Nothing in 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.