org.abora.white.spaces.cross
Class GenericCrossSpace

java.lang.Object
  |
  +--org.abora.white.xpp.basic.Heaper
        |
        +--org.abora.white.spaces.basic.CoordinateSpace
              |
              +--org.abora.white.spaces.cross.CrossSpace
                    |
                    +--org.abora.white.spaces.cross.GenericCrossSpace

public class GenericCrossSpace
extends CrossSpace

Default implementation of cross coordinate space. was NOT.A.TYPE but that prevented compilation


Field Summary
 
Fields inherited from class org.abora.white.spaces.cross.CrossSpace
mySubSpaces
 
Fields inherited from class org.abora.white.spaces.basic.CoordinateSpace
myAscending, myDescending, myEmptyRegion, myFullRegion, myIdentityDsp
 
Constructor Summary
GenericCrossSpace(PtrArray subSpaces)
           
 
Method Summary
 Mapping crossOfMappings(PtrArray subMappings)
          Essential.
 CrossOrderSpec crossOfOrderSpecs(PtrArray subOrderings, PrimIntArray subSpaceOrdering)
          Essential.
 Tuple crossOfPositions(PtrArray coordinates)
          Essential.
 CrossRegion crossOfRegions(PtrArray subRegions)
          Essential.
 CrossRegion extrusion(int dimension, XnRegion subRegion)
          Return a region whose projection is 'subRegion' along 'dimension', but is full on all other dimensions
static CrossSpace make(PtrArray subSpaces)
          Make a cross space with the given list of subspaces
static Heaper make(Rcvr rcvr)
           
 void printOn(java.io.PrintWriter oo)
          This should rarely be overridden.
 void sendGenericCrossSpaceTo(Xmtr xmtr)
           
 void sendSelfTo(Xmtr xmtr)
           
 
Methods inherited from class org.abora.white.spaces.cross.CrossSpace
actualHashForEqual, axes, axis, axisCount, crossOfMappings, crossOfOrderSpecs, crossOfOrderSpecs, info, isEqual, make, secretSubSpaces
 
Methods inherited from class org.abora.white.spaces.basic.CoordinateSpace
ascending, completeMapping, descending, emptyRegion, fetchAscending, fetchDescending, finishCreate, fullRegion, getAscending, getDescending, identityDsp, identityMapping, verify
 
Methods inherited from class org.abora.white.xpp.basic.Heaper
destroy, destruct, equals, hashForEqual, printContentsOn, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GenericCrossSpace

public GenericCrossSpace(PtrArray subSpaces)
Method Detail

crossOfMappings

public Mapping crossOfMappings(PtrArray subMappings)
Description copied from class: CrossSpace
Essential. Map each coordinate according to the mapping from its space. NULLs mean 'use the identity mapping'

Specified by:
crossOfMappings in class CrossSpace

crossOfOrderSpecs

public CrossOrderSpec crossOfOrderSpecs(PtrArray subOrderings,
                                        PrimIntArray subSpaceOrdering)
Description copied from class: CrossSpace
Essential. Make a lexical ordering of all elements in the space, using the given ordering for each sub space. If no sub space ordering is given, then it is in the order they are in the array. subSpaceOrdering lists the lexicographic order in which each dimension should be processed. Every dimension should be listed exactly one, from most significant (at index 0) to least significant. subOrderings are indexed by *dimension*, not by lexicographic order. In order to index by lex order, look up the dimension in subSpaceOrdering, and then look up the resulting dimension number in subOrderings.

Specified by:
crossOfOrderSpecs in class CrossSpace

crossOfPositions

public Tuple crossOfPositions(PtrArray coordinates)
Description copied from class: CrossSpace
Essential. Make an individual position

Specified by:
crossOfPositions in class CrossSpace

crossOfRegions

public CrossRegion crossOfRegions(PtrArray subRegions)
Description copied from class: CrossSpace
Essential. Make a 'rectangular' region as a cross of all the given regions

Specified by:
crossOfRegions in class CrossSpace

extrusion

public CrossRegion extrusion(int dimension,
                             XnRegion subRegion)
Description copied from class: CrossSpace
Return a region whose projection is 'subRegion' along 'dimension', but is full on all other dimensions

Specified by:
extrusion in class CrossSpace

printOn

public void printOn(java.io.PrintWriter oo)
Description copied from class: Heaper
This should rarely be overridden. In Tofu, it prints ClassName(...), where ... is either produced by printInsideOn or is ??? if printInsideOn it not overridden.

Overrides:
printOn in class Heaper

sendGenericCrossSpaceTo

public void sendGenericCrossSpaceTo(Xmtr xmtr)

sendSelfTo

public void sendSelfTo(Xmtr xmtr)
Overrides:
sendSelfTo in class Heaper

make

public static Heaper make(Rcvr rcvr)

make

public static CrossSpace make(PtrArray subSpaces)
Description copied from class: CrossSpace
Make a cross space with the given list of subspaces



Copyright © 2003 David G Jones. All Rights Reserved.
Original Udanax-Gold - Copyright © 1979-1999 Udanax.com. All rights reserved.