Rotation

public class Rotation : ITransform
Implements a rotation transformation.

Constructors

Rotation

#
public Rotation()

Rotation

#
public Rotation(Point3d center, Vector3d axis, double angle)
center (Point3d)
axis (Vector3d)
angle (double)

Rotation

#
public Rotation(Point3d center, Vector3d dir0, Vector3d dir1)
center (Point3d)
dir0 (Vector3d)
dir1 (Vector3d)

Properties

Name

#
public string Name { get; }
Name

RotationAngle

#
public double RotationAngle { get; set; }

RotationAxis

#
public Vector3d RotationAxis { get; set; }

RotationCenter

#
public Point3d RotationCenter { get; set; }

Methods

Duplicate

#
public ITransform Duplicate()
Duplicate

Read

#
public bool Read(GH_IReader reader)
reader (GH_IReader)
Read

Reverse

#
public ITransform Reverse()
Reverse

ToMatrix

#
public Transform ToMatrix()
ToMatrix

ToString

#
public override string ToString()
Object.ToString
ToString

Write

#
public bool Write(GH_IWriter writer)
writer (GH_IWriter)
Write