Package org.robovm.apple.mapkit
Class MKMapPoint
- All Implemented Interfaces:
Iterable<MKMapPoint>
public class MKMapPoint extends Struct<MKMapPoint>
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMKMapPoint.MKMapPointPtr -
Constructor Summary
Constructors Constructor Description MKMapPoint()MKMapPoint(double x, double y)MKMapPoint(CLLocationCoordinate2D coordinate) -
Method Summary
Modifier and Type Method Description booleanequals(Object obj)booleanequalsTo(MKMapPoint other)static doublegetMapPointsPerMeter(double latitude)static doublegetMetersBetween(MKMapPoint a, MKMapPoint b)static doublegetMetersPerMapPoint(double latitude)doublegetX()doublegetY()MKMapPointsetX(double x)MKMapPointsetY(double y)CLLocationCoordinate2DtoCoordinate()StringtoString()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 Details
-
MKMapPoint
public MKMapPoint() -
MKMapPoint
public MKMapPoint(double x, double y) -
MKMapPoint
-
-
Method Details
-
getX
public double getX() -
setX
-
getY
public double getY() -
setY
-
equalsTo
-
equals
- Overrides:
equalsin classNativeObject
-
toString
-
toCoordinate
-
getMetersPerMapPoint
public static double getMetersPerMapPoint(double latitude) -
getMapPointsPerMeter
public static double getMapPointsPerMeter(double latitude) -
getMetersBetween
-