NSDK_WayPoint
@interface NSDK_WayPoint : NSObject
Specifies a real-world WayPoint in Mercator format.
@author PTV AG Karlsruhe
-
Undocumented
Declaration
Objective-C
- (id) init;
Swift
init!()
-
init with mercator values
Declaration
Objective-C
- (id)initWithX:(int)x y:(int)y;
Swift
init!(x: Int32, y: Int32)
-
init with mercator values and course
Declaration
Objective-C
- (id)initWithX:(int)x y:(int)y course:(short)course;
Swift
init!(x: Int32, y: Int32, course: Int16)
-
init with Position
Declaration
Objective-C
- (id)initWithPosition:(NSDK_Position *)pos;
Swift
init!(position pos: NSDK_Position!)
-
init with Position and course
Declaration
Objective-C
- (id)initWithPosition:(NSDK_Position *)pos course:(short)course;
Swift
init!(position pos: NSDK_Position!, course: Int16)
-
init with GeoPosition
Declaration
Objective-C
- (id)initWithGeoPosition:(NSDK_GeoPosition *)pos;
Swift
init!(geoPosition pos: NSDK_GeoPosition!)
-
Returns the longitude of the mercator WayPoint.
Declaration
Objective-C
- (int)getX;
Swift
func getX() -> Int32
Return Value
the longitude.
-
Returns the latitude of the mercator WayPoint.
Declaration
Objective-C
- (int)getY;
Swift
func getY() -> Int32
Return Value
the latitude.
-
Returns the course of the mercator WayPoint.
Declaration
Objective-C
- (short)getCourse;
Swift
func getCourse() -> Int16
Return Value
the course.
-
Sets the longitude of the mercator WayPoint.
Declaration
Objective-C
- (void)setX:(int)x;
Swift
func setX(_ x: Int32)
Parameters
x
the longitude.
-
Sets the latitude of the mercator WayPoint.
Declaration
Objective-C
- (void)setY:(int)y;
Swift
func setY(_ y: Int32)
Parameters
y
the latitude.
-
Sets the course of the mercator WayPoint.
Declaration
Objective-C
- (void)setCourse:(short)course;
Swift
func setCourse(_ course: Int16)
Parameters
course
the course.