org.osm2world.core.target.common.rendering
Class Projection
Object
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)
|
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Projection
public Projection(boolean orthographic,
double aspectRatio,
double vertAngle,
double volumeHeight,
double nearClippingDistance,
double farClippingDistance)
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