org.osm2world.core.target.common.rendering
Class Projection

Object
  extended by Projection

public class Projection
extends Object

configuration of the projection from 3D world to screen (not the map projection)


Constructor Summary
Projection(boolean orthographic, double aspectRatio, double vertAngle, double volumeHeight, double nearClippingDistance, double farClippingDistance)
           
 
Method Summary
 double getAspectRatio()
           
 double getFarClippingDistance()
           
 double getNearClippingDistance()
           
 double getVertAngle()
           
 double getVolumeHeight()
           
 boolean isOrthographic()
           
 String toString()
           
 Projection withAspectRatio(double newAspectRatio)
           
 Projection withVolumeHeight(double newVolumeHeight)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Projection

public Projection(boolean orthographic,
                  double aspectRatio,
                  double vertAngle,
                  double volumeHeight,
                  double nearClippingDistance,
                  double farClippingDistance)
Method Detail

isOrthographic

public boolean isOrthographic()

getAspectRatio

public double getAspectRatio()

getVertAngle

public double getVertAngle()

getVolumeHeight

public double getVolumeHeight()

getNearClippingDistance

public double getNearClippingDistance()

getFarClippingDistance

public double getFarClippingDistance()

withVolumeHeight

public Projection withVolumeHeight(double newVolumeHeight)

withAspectRatio

public Projection withAspectRatio(double newAspectRatio)

toString

public String toString()
Overrides:
toString in class Object