Shape::FaceDef Struct Reference

FaceDef is the definion of a face, A face is a placeholder for a 5x5 happy cube piece. More...

#include <Shape.h>

Collaboration diagram for Shape::FaceDef:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FaceDef ()
 FaceDef (EPlane setdr, Coord3d setex)
FaceDefoperator= (const FaceDef &src)
Coord3d size ()

Public Attributes

EPlane dr
 directions of the face
Coord3d ex
 start point of the face
EFacing facing
int corners [4]
int sides [4]
int nei [4]

Detailed Description

FaceDef is the definion of a face, A face is a placeholder for a 5x5 happy cube piece.

A face is defined by its point of origin ex and its orientation dr it also links to its corners, sides and neibours


Constructor & Destructor Documentation

Shape::FaceDef::FaceDef (  )  [inline]

Shape::FaceDef::FaceDef ( EPlane  setdr,
Coord3d  setex 
) [inline]


Member Function Documentation

FaceDef& Shape::FaceDef::operator= ( const FaceDef src  )  [inline]

Coord3d Shape::FaceDef::size (  )  [inline]


Member Data Documentation

directions of the face

start point of the face


The documentation for this struct was generated from the following file: