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