SphereRotation

References
Represents immutable view properties

Constructors

SphereRotation

#
public SphereRotation(Plane plane, double perpendicular)
Sphere orientation.
plane (Plane)Base plane.
perpendicular (double)The rotation along the fourth dimension.

Properties

Perpendicular

#
public double Perpendicular { get; }
Gets the four dimensional rotation factor.

Plane

#
public Plane Plane { get; }
Gets the base plane orientation.

XAxis

#
public Vector3d XAxis { get; }
Gets the base plane x-axis orientation.

YAxis

#
public Vector3d YAxis { get; }
Gets the base plane y-axis orientation.

ZAxis

#
public Vector3d ZAxis { get; }
Gets the base plane z-axis orientation.

Methods

GetHashCode

#
public override int GetHashCode()
Serves as the default hash function.
A hash code for the current object.

Rotate

#
public SphereRotation Rotate(CircleF disc, PointF point0, PointF point1)
Rotate from one position to another.
disc (CircleF)Sphere disc.
point0 (PointF)From point.
point1 (PointF)To point.
New rotation.

Rotate

#
public SphereRotation Rotate(Point3d point0, Point3d point1)
Rotate from one position to another.
point0 (Point3d)Startpoint. Coordinate must be in normalised top-down coordinates.
point1 (Point3d)Endpoint. Coordinate must be in normalised top-down coordinates.
New rotation.

Sphere

#
public Sphere Sphere(CircleF disc)
Gets a sphere that fits into a frame.
disc (CircleF)
Explicit

IComparable<SphereRotation>.CompareTo

#
other (SphereRotation)
Explicit

IEquatable<SphereRotation>.Equals

#
other (SphereRotation)