NSDK_SVPWayPoint
@interface NSDK_SVPWayPoint : NSObject
Specifies a waypoint the user defines as input to an svp route request in Mercator format
@author PTV AG Karlsruhe
-
Undocumented
Declaration
Objective-C
- (id) init;
Swift
init!()
-
initializer with mercator values and direction
Declaration
Objective-C
- (id)initWithX:(int)x y:(int)y direction:(short)direction;
Swift
init!(x: Int32, y: Int32, direction: Int16)
-
initializer with mercator values, direction and type
Declaration
Objective-C
- (id)initWithX:(int)x y:(int)y direction:(short)direction type:(short)type;
Swift
init!(x: Int32, y: Int32, direction: Int16, type: Int16)
-
initializer with waypoint
Declaration
Objective-C
- (id)initWithWayPoint:(NSDK_WayPoint *)wayPoint;
Swift
init!(wayPoint: NSDK_WayPoint!)
-
initializer with waypoint and direction
Declaration
Objective-C
- (id)initWithWayPoint:(NSDK_WayPoint *)wayPoint direction:(short)direction;
Swift
init!(wayPoint: NSDK_WayPoint!, direction: Int16)
-
Sets the longitude of the mercator SVPWayPoint.
Declaration
Objective-C
- (void)setX:(int)x;
Swift
func setX(_ x: Int32)
Parameters
x
the longitude.
-
Sets the latitude of the mercator SVPWayPoint.
Declaration
Objective-C
- (void)setY:(int)y;
Swift
func setY(_ y: Int32)
Parameters
y
the latitude.
-
Sets the course of the mercator SVPWayPoint.
Declaration
Objective-C
- (void)setDirection:(short)direction;
Swift
func setDirection(_ direction: Int16)
Parameters
direction
the course.
-
Sets the type of the mercator SVPWayPoint.
Declaration
Objective-C
- (void)setType:(short)type;
Swift
func setType(_ type: Int16)
Parameters
type
the type.
-
Returns the longitude of the mercator SVPWayPoint.
Declaration
Objective-C
- (int)getX;
Swift
func getX() -> Int32
Return Value
the longitude.
-
Returns the latitude of the mercator SVPWayPoint.
Declaration
Objective-C
- (int)getY;
Swift
func getY() -> Int32
Return Value
the latitude.
-
Returns the course of the mercator SVPWayPoint.
Declaration
Objective-C
- (short)getDirection;
Swift
func getDirection() -> Int16
Return Value
the course.
-
Returns the type of the mercator SVPWayPoint.
Declaration
Objective-C
- (short)getType;
Swift
func getType() -> Int16
Return Value
the type.