@JsType(isNative=true,
namespace="Cesium",
name="OrthographicOffCenterFrustum")
public class OrthographicOffCenterFrustum
extends Frustum
Cartesian4 object,
where the x, y, and z components define the unit vector normal to the plane, and the w component is the
distance of the plane from the origin/camera position.| Modifier and Type | Field and Description |
|---|---|
double |
bottom
The bottom clipping plane.
|
double |
left
The left clipping plane.
|
double |
right
The right clipping plane.
|
double |
top
The top clipping plane.
|
| Constructor and Description |
|---|
OrthographicOffCenterFrustum() |
| Modifier and Type | Method and Description |
|---|---|
OrthographicOffCenterFrustum |
clone()
Returns a duplicate of a OrthographicOffCenterFrustum instance.
|
OrthographicOffCenterFrustum |
clone(OrthographicOffCenterFrustum result)
Returns a duplicate of a OrthographicOffCenterFrustum instance.
|
CullingVolume |
computeCullingVolume(Cartesian3 position,
Cartesian3 direction,
Cartesian3 up)
Creates a culling volume for this frustum.
|
boolean |
equals(OrthographicOffCenterFrustum other)
Compares the provided OrthographicOffCenterFrustum componentwise and returns true if they are equal, false otherwise.
|
boolean |
equalsEpsilon(OrthographicOffCenterFrustum other,
double relativeEpsilon)
Compares the provided OrthographicOffCenterFrustum componentwise and returns true if they pass an absolute or
relative tolerance test, false otherwise.
|
boolean |
equalsEpsilon(OrthographicOffCenterFrustum other,
double relativeEpsilon,
double absoluteEpsilon)
Compares the provided OrthographicOffCenterFrustum componentwise and returns true if they pass an absolute or
relative tolerance test, false otherwise.
|
Cartesian2 |
getPixelDimensions(double drawingBufferWidth,
double drawingBufferHeight,
double distance)
Returns the pixel's width and height in meters.
|
Cartesian2 |
getPixelDimensions(double drawingBufferWidth,
double drawingBufferHeight,
double distance,
Cartesian2 result)
Returns the pixel's width and height in meters.
|
projectionMatrix@JsProperty public double bottom
@JsProperty public double left
@JsProperty public double right
@JsProperty public double top
@JsConstructor public OrthographicOffCenterFrustum()
@JsMethod public OrthographicOffCenterFrustum clone()
@JsMethod public OrthographicOffCenterFrustum clone(OrthographicOffCenterFrustum result)
result - The object onto which to store the result.@JsMethod public CullingVolume computeCullingVolume(Cartesian3 position, Cartesian3 direction, Cartesian3 up)
position - The eye position.direction - The view direction.up - The up direction.@JsMethod public boolean equals(OrthographicOffCenterFrustum other)
other - The right hand side OrthographicOffCenterFrustum.@JsMethod public boolean equalsEpsilon(OrthographicOffCenterFrustum other, double relativeEpsilon)
other - The right hand side OrthographicOffCenterFrustum.relativeEpsilon - The relative epsilon tolerance to use for equality testing.@JsMethod public boolean equalsEpsilon(OrthographicOffCenterFrustum other, double relativeEpsilon, double absoluteEpsilon)
other - The right hand side OrthographicOffCenterFrustum.relativeEpsilon - The relative epsilon tolerance to use for equality testing.absoluteEpsilon - The absolute epsilon tolerance to use for equality testing.@JsMethod public Cartesian2 getPixelDimensions(double drawingBufferWidth, double drawingBufferHeight, double distance)
drawingBufferWidth - The width of the drawing buffer.drawingBufferHeight - The height of the drawing buffer.distance - The distance to the near plane in meters.@JsMethod public Cartesian2 getPixelDimensions(double drawingBufferWidth, double drawingBufferHeight, double distance, Cartesian2 result)
drawingBufferWidth - The width of the drawing buffer.drawingBufferHeight - The height of the drawing buffer.distance - The distance to the near plane in meters.result - The object onto which to store the result.Copyright © 2019. All rights reserved.