NTCullState


@interface NTCullState : NSObject {
  void *swigCPtr;
  BOOL swigCMemOwn;
}

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

  • Checks if this object is equal to the specified object.

    Declaration

    Objective-C

    - (BOOL)isEqual:(id)object;

    Parameters

    object

    The reference object.

    Return Value

    True when objects are equal, false otherwise.

  • Returns the hash value of this object.

    Declaration

    Objective-C

    - (NSUInteger)hash;

    Return Value

    The hash value of this object.

  • Constructs a CullState object from an envelope and a viewstate.

    Declaration

    Objective-C

    - (id)initWithEnvelope:(NTMapEnvelope *)envelope
                 viewState:(NTViewState *)viewState;

    Parameters

    envelope

    The envelope.

    viewState

    The view state.

  • Returns an envelope for the visible area in given projection coordinates.

    Declaration

    Objective-C

    - (NTMapEnvelope *)getProjectionEnvelope:(NTProjection *)projection;

    Parameters

    projection

    The projection for the envelope

    Return Value

    The envelope for the visible area in the coordinate system of the given projection.

  • Returns a view state.

    Declaration

    Objective-C

    - (NTViewState *)getViewState;

    Return Value

    The view state.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;