GeoRoadLocation

The GeoRoadLocation class represents a position (X,Y) on a road element.

Inheritors

Constructors

Link copied to clipboard
constructor(objectId: ObjectId, angle: Int)
Set the angle of the road segment.

Properties

Link copied to clipboard
open var address: Long
Link copied to clipboard
Defines the Left side of a road segment
Link copied to clipboard
Defines the Right side of a road segment
Link copied to clipboard
Defines an undefined side of a road segment

Functions

Link copied to clipboard
open fun dispose()
Call this method if you want to dispose immediately all underlying native resources.
Link copied to clipboard
open fun getAngle(): Int
Returns angle of the road segment.
Link copied to clipboard
open fun getClassId(): Long
Returns the class ID of the road segment.
Link copied to clipboard
open fun getGeoPoint(): GeoPoint
Returns the geographical position of this road location.
Link copied to clipboard
open fun getObjectId(): ObjectId
Return the internal identifier of the segment of road.
Link copied to clipboard
open fun getRoadSide(): Int
Returns the side of the road the location is.
Link copied to clipboard
open fun isWaypoint(): Boolean
Returns true if this Road Location is a waypoint.
Link copied to clipboard
open fun rotate()
Rotates the angle by 180°
Link copied to clipboard
Link copied to clipboard
open fun toString(): String
Returns coordinates of this Road Location as a string.
Link copied to clipboard
open fun x(): Double
Returns x-coordinate in double precision.
Link copied to clipboard
open fun y(): Double
Returns y-coordinate in double precision.