C# 클래스 GeometryClassLibrary.Rotation

파일 보기 프로젝트 열기: ParagonTruss/GeometryClassLibrary 1 사용 예제들

공개 메소드들

메소드 설명
Equals ( object other ) : bool

does the same thing as == if the passed in object is a Rotation

GetHashCode ( ) : int
Inverse ( ) : Rotation

Returns the inverse rotation.

Rotation ( System.Angle rotationAngle, Line axisOfRotation = null ) : System
Rotation ( Line axisOfRotation, System.Angle rotationAngle ) : System

Creates a rotation about the input Axis and with the input Angle of 0 if the angle is omitted

Rotation ( Rotation toCopy ) : System

Creates a copy of the given rotation

RotationAboutOrigin ( Shift shift ) : Rotation

Returns the rotation component of the shift object.

RotationFromMatrix ( Matrix matrix ) : Rotation

This method runs no validation. So make sure this matrix represents an actual rotation.

operator ( ) : bool

Not a perfect equality operator, is only accurate up to Constants.AcceptedEqualityDeviationConstant

비공개 메소드들

메소드 설명
Rotation ( ) : System

Null Constructor

Rotation ( Line axis, System.Angle angle, Matrix matrix ) : System
Rotation ( Matrix matrix ) : System
_matrixOfRotationAboutOrigin ( ) : Matrix
_setAxisAndAngle ( ) : void
_setMatrix ( ) : void

메소드 상세

Equals() 공개 메소드

does the same thing as == if the passed in object is a Rotation
public Equals ( object other ) : bool
other object
리턴 bool

GetHashCode() 공개 메소드

public GetHashCode ( ) : int
리턴 int

Inverse() 공개 메소드

Returns the inverse rotation.
public Inverse ( ) : Rotation
리턴 Rotation

Rotation() 공개 메소드

public Rotation ( System.Angle rotationAngle, Line axisOfRotation = null ) : System
rotationAngle System.Angle
axisOfRotation Line
리턴 System

Rotation() 공개 메소드

Creates a rotation about the input Axis and with the input Angle of 0 if the angle is omitted
public Rotation ( Line axisOfRotation, System.Angle rotationAngle ) : System
axisOfRotation Line
rotationAngle System.Angle
리턴 System

Rotation() 공개 메소드

Creates a copy of the given rotation
public Rotation ( Rotation toCopy ) : System
toCopy Rotation
리턴 System

RotationAboutOrigin() 공개 정적인 메소드

Returns the rotation component of the shift object.
public static RotationAboutOrigin ( Shift shift ) : Rotation
shift Shift
리턴 Rotation

RotationFromMatrix() 공개 정적인 메소드

This method runs no validation. So make sure this matrix represents an actual rotation.
public static RotationFromMatrix ( Matrix matrix ) : Rotation
matrix Matrix
리턴 Rotation

operator() 공개 정적인 메소드

Not a perfect equality operator, is only accurate up to Constants.AcceptedEqualityDeviationConstant
public static operator ( ) : bool
리턴 bool