JavaGenes, NASA Ames. Written largely by Al Globus

gov.nasa.alsUtility
Class Brick3dWithSegments

java.lang.Object
  extended bygov.nasa.alsUtility.Brick3d
      extended bygov.nasa.alsUtility.Brick3dWithSegments
All Implemented Interfaces:
java.io.Serializable

public class Brick3dWithSegments
extends Brick3d

See Also:
Serialized Form

Field Summary
 
Fields inherited from class gov.nasa.alsUtility.Brick3d
intervals
 
Constructor Summary
Brick3dWithSegments(Brick3d corners, int[] numberOfSegments)
          NOTE: the segments are created here and never updated, even if you change the brick
 
Method Summary
protected  double[] createSegmentCoordinates(DoubleInterval interval, int numberOfSegments)
           
 void expandByAddition(double expandBy)
           
 double[] getSegmentCoordinates(int i)
           
 
Methods inherited from class gov.nasa.alsUtility.Brick3d
expandToInclude, getBottomCornerPoint, getInterval, getSideLength, getTopCornerPoint, isInside, nearlyEqual, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Brick3dWithSegments

public Brick3dWithSegments(Brick3d corners,
                           int[] numberOfSegments)
NOTE: the segments are created here and never updated, even if you change the brick

Method Detail

createSegmentCoordinates

protected double[] createSegmentCoordinates(DoubleInterval interval,
                                            int numberOfSegments)

getSegmentCoordinates

public double[] getSegmentCoordinates(int i)

expandByAddition

public void expandByAddition(double expandBy)
Overrides:
expandByAddition in class Brick3d

JavaGenes, NASA Ames. Written largely by Al Globus