public class

CullState

extends Object
java.lang.Object
   ↳ com.carto.renderers.components.CullState

Class Overview

View specific state determined by the culling process. This includes
convex envelope of the visible area, view frustum, tiles and camera state.

Summary

Public Constructors
CullState(MapEnvelope envelope, ViewState viewState)
Constructs a CullState object from an envelope and a viewstate.
Public Methods
synchronized void delete()
boolean equals(Object obj)
Checks if this object is equal to the specified object.
MapEnvelope getProjectionEnvelope(Projection projection)
Returns an envelope for the visible area in given projection coordinates.
ViewState getViewState()
Returns a view state.
int hashCode()
Returns the hash value of this object.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public CullState (MapEnvelope envelope, ViewState viewState)

Constructs a CullState object from an envelope and a viewstate.

Parameters
envelope The envelope.
viewState The view state.

Public Methods

public synchronized void delete ()

public boolean equals (Object obj)

Checks if this object is equal to the specified object.

Parameters
obj The reference object.
Returns
  • True when objects are equal, false otherwise.

public MapEnvelope getProjectionEnvelope (Projection projection)

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.

public ViewState getViewState ()

Returns a view state.

Returns
  • The view state.

public int hashCode ()

Returns the hash value of this object.

Returns
  • The hash value of this object.