Class CullState
java.lang.Object
com.massifmaps.renderers.components.CullState
View specific state determined by the culling process. This includes
convex envelope of the visible area, view frustum, tiles and camera state.
convex envelope of the visible area, view frustum, tiles and camera state.
-
Constructor Summary
ConstructorsConstructorDescriptionCullState(MapEnvelope envelope, ViewState viewState) Constructs a CullState object from an envelope and a viewstate. -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks if this object is equal to the specified object.getProjectionEnvelope(Projection projection) Returns an envelope for the visible area in given projection coordinates.Returns a view state.inthashCode()Returns the hash value of this object.
-
Constructor Details
-
CullState
Constructs a CullState object from an envelope and a viewstate.- Parameters:
envelope- The envelope.viewState- The view state.
-
-
Method Details
-
equals
Checks if this object is equal to the specified object. -
hashCode
public int hashCode()Returns the hash value of this object. -
getProjectionEnvelope
Returns an envelope for the visible area in given projection coordinates.- Parameters:
projection- The projection for the envelope- Returns:
- The envelope for the visible area in the coordinate system of the given projection.
-
getViewState
Returns a view state.- Returns:
- The view state.
-