SITCoordinateConverter

Objective-C

@interface SITCoordinateConverter : NSObject

Swift

class SITCoordinateConverter : NSObject

Utility class to convert between cartesian coordinates and geographical coordinates.

Initializers

  • Initializer

    Declaration

    Objective-C

    - (instancetype _Nonnull)initWithDimensions:(SITDimensions *_Nonnull)dimensions
                                         center:(CLLocationCoordinate2D)center
                                       rotation:(SITAngle *_Nonnull)rotation;

    Swift

    init(dimensions: SITDimensions, center: CLLocationCoordinate2D, rotation: SITAngle)

    Parameters

    dimensions

    Dimensions of the building

    center

    Center of the building

    rotation

    Rotation of the building

    Return Value

    SITCoordinateConverter

Methods