java.lang.Object
io.qt.QtObject
io.qt.location.QGeoRouteSegment
- All Implemented Interfaces:
QtObjectInterface
,Cloneable
Represents a segment of a route
Java wrapper for Qt class QGeoRouteSegment
- Since:
- This class was introduced in Qt 5.6.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal void
assign
(QGeoRouteSegment other) clone()
Creates and returns a copy of this object.final double
distance()
final boolean
equals
(QGeoRouteSegment other) boolean
int
hashCode()
Returns the objects's hash code computed byqHash(QGeoRouteSegment)
.final boolean
final boolean
isValid()
final QGeoManeuver
maneuver()
final QGeoRouteSegment
final QList<QGeoCoordinate>
path()
final void
setDistance
(double distance) final void
setManeuver
(QGeoManeuver maneuver) final void
setNextRouteSegment
(QGeoRouteSegment routeSegment) final void
setPath
(Collection<? extends QGeoCoordinate> path) final void
setTravelTime
(int secs) final int
Methods inherited from class io.qt.QtObject
dispose, isDisposed
-
Constructor Details
-
QGeoRouteSegment
public QGeoRouteSegment() -
QGeoRouteSegment
- Parameters:
other
-
-
-
Method Details
-
distance
- Returns:
-
isLegLastSegment
- Returns:
- Since:
- This function was introduced in Qt 5.12.
-
isValid
- Returns:
-
maneuver
- Returns:
-
nextRouteSegment
- Returns:
-
assign
- Parameters:
other
-
-
equals
- Parameters:
other
-- Returns:
-
path
- Returns:
-
setDistance
- Parameters:
distance
-
-
setManeuver
- Parameters:
maneuver
-
-
setNextRouteSegment
- Parameters:
routeSegment
-
-
setPath
- Parameters:
path
-
-
setTravelTime
- Parameters:
secs
-
-
travelTime
- Returns:
-
equals
-
hashCode
Returns the objects's hash code computed byqHash(QGeoRouteSegment)
. -
clone
Creates and returns a copy of this object.
-