CartoType Android API 7.8.2, 2022-03-25
for Java development on Android
Public Attributes | List of all members
com.cartotype.NearestSegmentInfo Class Reference

Public Attributes

int iSegmentIndex
 
int iLineIndex
 
double iNearestPointX
 
double iNearestPointY
 
double iDistanceToRoute
 
double iDistanceAlongRoute
 
double iDistanceAlongSegment
 
double iTimeAlongRoute
 
double iTimeAlongSegment
 
double iHeading
 

Detailed Description

Information about the nearest route segment to a point.

Member Data Documentation

◆ iDistanceAlongRoute

double com.cartotype.NearestSegmentInfo.iDistanceAlongRoute

The distance of the nearest point along the route in meters.

◆ iDistanceAlongSegment

double com.cartotype.NearestSegmentInfo.iDistanceAlongSegment

The distance within the current segment in meters.

◆ iDistanceToRoute

double com.cartotype.NearestSegmentInfo.iDistanceToRoute

The distance from the other point to iNearestPoint in meters.

◆ iHeading

double com.cartotype.NearestSegmentInfo.iHeading

The heading of the nearest line as a map angle taken anti-clockwise from rightwards.

◆ iLineIndex

int com.cartotype.NearestSegmentInfo.iLineIndex

The index of the line within the segment's path: line N goes from point N to point N + 1.

◆ iNearestPointX

double com.cartotype.NearestSegmentInfo.iNearestPointX

The X coordinate of the point in the segment's path nearest to the other point, in map coordinates.

◆ iNearestPointY

double com.cartotype.NearestSegmentInfo.iNearestPointY

The Y coordinate of the point in the segment's path nearest to the other point, in map coordinates.

◆ iSegmentIndex

int com.cartotype.NearestSegmentInfo.iSegmentIndex

The index of the segment in the Route object, or -1 if there were no segments.

◆ iTimeAlongRoute

double com.cartotype.NearestSegmentInfo.iTimeAlongRoute

The estimated time of the nearest point, along the route, in seconds.

◆ iTimeAlongSegment

double com.cartotype.NearestSegmentInfo.iTimeAlongSegment

The estimated time within the current segment, in seconds.


The documentation for this class was generated from the following file: