Class Connection
  
  Represents how the edges (2d) or faces (3d) of cells can connect to each other.
In 2d, rotation/sides are unused, as two edges can only connect together normally or reflected.
In 3d, this represents both a rotation and reflection, similar to NGonCellType rotations.
As there, Mirror inverts the y-axis, and is applied before rotation, which is counter clockwise.
    Inheritance
    System.Object
    Connection
   
  
  
  Assembly: Sylves.dll
  Syntax
  
    public sealed class Connection : ValueType
   
  Properties
  
  
  
  
  Mirror
  
  
  Declaration
  
    public bool Mirror { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
  
  
  Rotation
  
  
  Declaration
  
    public int Rotation { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Int32 |  | 
    
  
  
  
  
  Sides
  
  
  Declaration
  
    public int Sides { get; set; }
   
  Property Value
  
    
      
        | Type | Description | 
    
    
      
        | System.Int32 |  | 
    
  
  Methods
  
  
  
  
  Equals(Connection)
  
  
  Declaration
  
    public bool Equals(Connection other)
   
  Parameters
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
  
  
  Equals(Object)
  
  
  Declaration
  
    public override bool Equals(object other)
   
  Parameters
  
    
      
        | Type | Name | Description | 
    
    
      
        | System.Object | other |  | 
    
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
  
  
  GetHashCode()
  
  
  Declaration
  
    public override int GetHashCode()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Int32 |  | 
    
  
  
  
  
  GetInverse()
  
  
  Declaration
  
    public Connection GetInverse()
   
  Returns
  
  
  
  
  ToMatrix()
  Give an equivalent rotation in the XY plane.
Declaration
  
    public Matrix4x4 ToMatrix()
   
  Returns
  
  
  
  
  ToString()
  
  
  Declaration
  
    public override string ToString()
   
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.String |  | 
    
  
  Operators
  
  
  
  
  Equality(Connection, Connection)
  
  
  Declaration
  
    public static bool operator ==(Connection lhs, Connection rhs)
   
  Parameters
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
  
  
  Inequality(Connection, Connection)
  
  
  Declaration
  
    public static bool operator !=(Connection lhs, Connection rhs)
   
  Parameters
  
  Returns
  
    
      
        | Type | Description | 
    
    
      
        | System.Boolean |  | 
    
  
  
  
  
  Multiply(Connection, Connection)
  
  
  Declaration
  
    public static Connection operator *(Connection a, Connection b)
   
  Parameters
  
  Returns
  
  Implements
  
      System.IEquatable<>