org.osm2world.core.target.common.rendering
public class Projection extends Object
Constructor and Description |
---|
Projection(boolean orthographic,
double aspectRatio,
double vertAngle,
double volumeHeight,
double nearClippingDistance,
double farClippingDistance) |
Modifier and Type | Method and Description |
---|---|
double |
getAspectRatio() |
double |
getFarClippingDistance() |
double |
getNearClippingDistance() |
double |
getVertAngle() |
double |
getVolumeHeight() |
boolean |
isOrthographic() |
String |
toString() |
Projection |
withAspectRatio(double newAspectRatio) |
Projection |
withVolumeHeight(double newVolumeHeight) |
public Projection(boolean orthographic, double aspectRatio, double vertAngle, double volumeHeight, double nearClippingDistance, double farClippingDistance)
public boolean isOrthographic()
public double getAspectRatio()
public double getVertAngle()
public double getVolumeHeight()
public double getNearClippingDistance()
public double getFarClippingDistance()
public Projection withVolumeHeight(double newVolumeHeight)
public Projection withAspectRatio(double newAspectRatio)
public String toString()
toString
in class Object