Package org.robovm.apple.mapkit
Class MKMapPoint
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.rt.bro.Struct<MKMapPoint>
-
- org.robovm.apple.mapkit.MKMapPoint
-
- All Implemented Interfaces:
java.lang.Iterable<MKMapPoint>
public class MKMapPoint extends org.robovm.rt.bro.Struct<MKMapPoint>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
MKMapPoint.MKMapPointPtr
-
Constructor Summary
Constructors Constructor Description MKMapPoint()
MKMapPoint(double x, double y)
MKMapPoint(CLLocationCoordinate2D coordinate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
boolean
equalsTo(MKMapPoint other)
static double
getMapPointsPerMeter(double latitude)
static double
getMetersBetween(MKMapPoint a, MKMapPoint b)
static double
getMetersPerMapPoint(double latitude)
double
getX()
double
getY()
MKMapPoint
setX(double x)
MKMapPoint
setY(double y)
CLLocationCoordinate2D
toCoordinate()
java.lang.String
toString()
-
Methods inherited from class org.robovm.rt.bro.Struct
_sizeOf, allocate, allocate, as, clear, clear, copy, copy, copyWithMalloc, copyWithMalloc, free, iterator, iterator, malloc, malloc, next, next, offsetOf, previous, previous, sizeOf, sizeOf, toArray, toList, toStruct, update, update, update, wrap
-
-
-
-
Constructor Detail
-
MKMapPoint
public MKMapPoint()
-
MKMapPoint
public MKMapPoint(double x, double y)
-
MKMapPoint
public MKMapPoint(CLLocationCoordinate2D coordinate)
-
-
Method Detail
-
getX
public double getX()
-
setX
public MKMapPoint setX(double x)
-
getY
public double getY()
-
setY
public MKMapPoint setY(double y)
-
equalsTo
public boolean equalsTo(MKMapPoint other)
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classorg.robovm.rt.bro.NativeObject
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
toCoordinate
public CLLocationCoordinate2D toCoordinate()
- Since:
- Available in iOS 4.0 and later.
-
getMetersPerMapPoint
public static double getMetersPerMapPoint(double latitude)
- Since:
- Available in iOS 4.0 and later.
-
getMapPointsPerMeter
public static double getMapPointsPerMeter(double latitude)
- Since:
- Available in iOS 4.0 and later.
-
getMetersBetween
public static double getMetersBetween(MKMapPoint a, MKMapPoint b)
- Since:
- Available in iOS 4.0 and later.
-
-