MSFCullState

Objective-C


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

Swift

class MSFCullState : NSObject

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;

    Swift

    func isEqual(_ object: Any!) -> Bool

    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;

    Swift

    func hash() -> UInt

    Return Value

    The hash value of this object.

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

    Declaration

    Objective-C

    - (id)initWithEnvelope:(MSFMapEnvelope *)envelope
                 viewState:(MSFViewState *)viewState;

    Swift

    init!(envelope: MSFMapEnvelope!, viewState: MSFViewState!)

    Parameters

    envelope

    The envelope.

    viewState

    The view state.

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

    Declaration

    Objective-C

    - (MSFMapEnvelope *)getProjectionEnvelope:(MSFProjection *)projection;

    Swift

    func getProjectionEnvelope(_ projection: MSFProjection!) -> MSFMapEnvelope!

    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

    - (MSFViewState *)getViewState;

    Swift

    func getViewState() -> MSFViewState!

    Return Value

    The view state.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()