public class LogRecord extends Entity
Entity.EntityBuilder<C extends Entity,B extends Entity.EntityBuilder<C,B>>| Constructor and Description |
|---|
LogRecord() |
| Modifier and Type | Method and Description |
|---|---|
static double |
distanceBetweenPoints(double longitudeA,
double latitudeA,
double longitudeB,
double latitudeB)
Calculates the distance between two lat/long points.
|
double |
distanceTo(Coordinate coordinate)
Calculates the distance between two lat/long points in kilometers.
|
double |
distanceTo(LogRecord logRecord)
Calculates the distance between two lat/long points in kilometers.
|
static List<Coordinate> |
getExtent(List<LogRecord> logRecords)
Calculates
Coordinate list representing an extent that fully covers the LogRecord(s). |
Coordinate |
toSimpleCoordinate()
Gets the
Coordinate of the log record. |
addExtraProperty, getExtraProperties, isSystemEntitypublic static double distanceBetweenPoints(double longitudeA,
double latitudeA,
double longitudeB,
double latitudeB)
longitudeA - The longitude a.latitudeA - The latitude a.longitudeB - The longitude b.latitudeB - The latitude b.public static List<Coordinate> getExtent(List<LogRecord> logRecords)
Coordinate list representing an extent that fully covers the LogRecord(s).logRecords - The log records.Coordinate list.public double distanceTo(LogRecord logRecord)
logRecord - LogRecordpublic double distanceTo(Coordinate coordinate)
coordinate - Coordinatepublic Coordinate toSimpleCoordinate()
Coordinate of the log record.Copyright © 2023. All rights reserved.