Show / Hide Table of Contents

Class RotationGroup

Describes a group of rotations and reflections.

Inheritance
object
RotationGroup
Implements
IEnumerable<Rotation>
IEnumerable
Namespace: DeBroglie.Rot
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
Type Description
bool
| Edit this page View Source

RotationalSymmetry

Indicates the number of distinct rotations in the group.

Declaration
public int RotationalSymmetry { get; }
Property Value
Type Description
int
| 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
Type Description
int

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
Type Name Description
Rotation rotation
| Edit this page View Source

GetEnumerator()

Declaration
public IEnumerator<Rotation> GetEnumerator()
Returns
Type Description
IEnumerator<Rotation>

Implements

IEnumerable<T>
IEnumerable
  • Edit this page
  • View Source
In this article
  • Constructors
    • RotationGroup(int, bool)
  • Properties
    • ReflectionalSymmetry
    • RotationalSymmetry
    • SmallestAngle
  • Methods
    • CheckContains(Rotation)
    • GetEnumerator()
  • Implements
Back to top Generated by DocFX