Class RotationGroup
Describes a group of rotations and reflections.
Inheritance
RotationGroup
Assembly: DeBroglie.dll
Syntax
public class RotationGroup : IEnumerable<Rotation>, IEnumerable
Constructors
|
Edit this page
View Source
RotationGroup(int, bool)
Declaration
public RotationGroup(int rotationalSymmetry, bool reflectionalSymmetry)
Parameters
Type |
Name |
Description |
int |
rotationalSymmetry |
|
bool |
reflectionalSymmetry |
|
Properties
|
Edit this page
View Source
ReflectionalSymmetry
If true, the group also contains reflections as well as rotations.
Declaration
public bool ReflectionalSymmetry { get; }
Property Value
|
Edit this page
View Source
RotationalSymmetry
Indicates the number of distinct rotations in the group.
Declaration
public int RotationalSymmetry { get; }
Property Value
|
Edit this page
View Source
SmallestAngle
Defined as 360 / RotationalSymmetry, this is the the smallest angle of any rotation
in the group.
Declaration
public int SmallestAngle { get; }
Property Value
Methods
|
Edit this page
View Source
CheckContains(Rotation)
Throws if rotation is not a member of the group.
Declaration
public void CheckContains(Rotation rotation)
Parameters
|
Edit this page
View Source
GetEnumerator()
Declaration
public IEnumerator<Rotation> GetEnumerator()
Returns
Implements