MSFCelestialClickInfo

Objective-C


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

Swift

class MSFCelestialClickInfo : NSObject

A container class that provides information about a click performed on an object of a CelestialLayer.

  • 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.

  • Returns the click type.

    Declaration

    Objective-C

    - (enum MSFClickType)getClickType;

    Swift

    func getClickType() -> MSFClickType

    Return Value

    The type of the click performed.

  • Returns the click info.

    Declaration

    Objective-C

    - (MSFClickInfo *)getClickInfo;

    Swift

    func getClickInfo() -> MSFClickInfo!

    Return Value

    The attributes of the click.

  • Returns the clicked object.

    Declaration

    Objective-C

    - (MSFCelestialObject *)getCelestialObject;

    Swift

    func getCelestialObject() -> MSFCelestialObject!

    Return Value

    The object on which the click was performed, or null for a click on the empty sky.

  • Returns the azimuth of the clicked object at the time of the click, or the one the click aimed at.

    Declaration

    Objective-C

    - (float)getAzimuth;

    Swift

    func getAzimuth() -> Float

    Return Value

    The azimuth in degrees, clockwise from north.

  • Returns the altitude of the clicked object at the time of the click, or the one the click aimed at.

    Declaration

    Objective-C

    - (float)getAltitude;

    Swift

    func getAltitude() -> Float

    Return Value

    The altitude in degrees above the horizon.

  • Undocumented

    Declaration

    Objective-C

    -(void)dealloc;

    Swift

    func dealloc()