Beispiel #1
0
 @Override
 public void init(final Envelope env) {
   super.init(env);
   if (env instanceof Envelope3D) {
     this.minz = ((Envelope3D) env).getMinZ();
     this.maxz = ((Envelope3D) env).getMaxZ();
   }
 }
Beispiel #2
0
 /**
  * Initialize an <code>Envelope</code> from an existing 3D Envelope.
  *
  * @param env the 3D Envelope to initialize from
  */
 public void init(final Envelope3D env) {
   super.init(env);
   this.minz = env.minz;
   this.maxz = env.maxz;
 }