Package com.cercalia.sdk.model.isochrone
Class IsochroneResult
java.lang.Object
com.cercalia.sdk.model.isochrone.IsochroneResult
Result of an isochrone calculation.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull IsochroneResult.Builderbuilder()@NotNull Coordinate@NotNull StringgetLevel()intgetValue()@NotNull IsochroneWeight@NotNull StringgetWkt()
-
Method Details
-
getWkt
- Returns:
- WKT geometry of the isochrone polygon.
-
getCenter
- Returns:
- Center coordinate of the isochrone.
-
getValue
public int getValue()- Returns:
- Value used for calculation (minutes for time, meters for distance).
-
getWeight
- Returns:
- Weight type used for the calculation.
-
getLevel
- Returns:
- Level value returned by Cercalia API.
-
builder
- Returns:
- A new builder for
IsochroneResult.
-