j3d.Terra3D
Class Landscape

java.lang.Object
  extended by j3d.Terra3D.Landscape

public class Landscape
extends java.lang.Object


Constructor Summary
Landscape(javax.media.j3d.BranchGroup sceneBG, java.lang.String fname)
           
 
Method Summary
 javax.media.j3d.BranchGroup getLandBG()
           
 javax.vecmath.Vector3d getOriginVec()
           
 double getScaleLen()
           
 boolean inLandscape(double x, double z)
           
 javax.vecmath.Vector3d worldToLand(javax.vecmath.Vector3d worldVec)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Landscape

public Landscape(javax.media.j3d.BranchGroup sceneBG,
                 java.lang.String fname)
Method Detail

getOriginVec

public javax.vecmath.Vector3d getOriginVec()

getLandBG

public javax.media.j3d.BranchGroup getLandBG()

getScaleLen

public double getScaleLen()

inLandscape

public boolean inLandscape(double x,
                           double z)

worldToLand

public javax.vecmath.Vector3d worldToLand(javax.vecmath.Vector3d worldVec)