parsedtree
Class UnitTypeDefinition

java.lang.Object
  extended byparsedtree.UnitTypeDefinition

public class UnitTypeDefinition
extends java.lang.Object


Field Summary
 int chirality
          Some units can be formed in both left handed and right handed versions.
 HandHoldInsideAUnit[] handHolds
           
 java.lang.String name
           
 int numberOfHandHolds
           
 int numberOfPeople
           
 UnitTypePersonDefinition[] people
           
 
Constructor Summary
UnitTypeDefinition()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

public java.lang.String name

numberOfPeople

public int numberOfPeople

people

public UnitTypePersonDefinition[] people

numberOfHandHolds

public int numberOfHandHolds

handHolds

public HandHoldInsideAUnit[] handHolds

chirality

public int chirality
Some units can be formed in both left handed and right handed versions. The 'handedness' of a unit is known as the chirality.

0 = This unit cannot be formed in a mirror image. Either it is a symetrical unit or it is a unit that is just never formed in the mirror image. -1 = The unit type definition is for a left handed unit. If a right handed version of the unit is formed then this unit definition can be used but it will be reflected. 1 = The unit type definition is for a right handed unit. If a left handed version of the unit is formed then this unit definition can be used but it will be reflected.

Constructor Detail

UnitTypeDefinition

public UnitTypeDefinition()


Copyright © 2003 Nigel Westbury