Package | Description |
---|---|
net.studioblueplanet.generics | |
net.studioblueplanet.ttbin |
Modifier and Type | Method and Description |
---|---|
static List<ActivityRecord> |
DPUtil.dpAlgorithm(List<ActivityRecord> originPoints,
Double dMax)
DP algorithm entry Pass in the set of track points before compression
Output the compressed result track point collection
|
Modifier and Type | Method and Description |
---|---|
static double |
DPUtil.distToSegment(ActivityRecord pA,
ActivityRecord pB,
ActivityRecord pX)
Function: use the triangle area (calculated by Helen's formula) equal
method to calculate the distance from point pX to the straight line
determined by points pA and pB
|
static double |
DPUtil.geoDist(ActivityRecord pA,
ActivityRecord pB)
Function: Find the distance between two latitude and longitude points
according to mathematical formulas
|
Modifier and Type | Method and Description |
---|---|
static void |
DPUtil.compression(List<ActivityRecord> originPoints,
List<ActivityRecord> resultPoints,
int start,
int end,
double dMax)
Function: According to the maximum distance limit, the original
trajectory is recursively sampled by the DP method to obtain the
compressed trajectory
|
static void |
DPUtil.compression(List<ActivityRecord> originPoints,
List<ActivityRecord> resultPoints,
int start,
int end,
double dMax)
Function: According to the maximum distance limit, the original
trajectory is recursively sampled by the DP method to obtain the
compressed trajectory
|
static List<ActivityRecord> |
DPUtil.dpAlgorithm(List<ActivityRecord> originPoints,
Double dMax)
DP algorithm entry Pass in the set of track points before compression
Output the compressed result track point collection
|
Modifier and Type | Class and Description |
---|---|
class |
ActivityRecordGps
This record represents an GPS logged record.
|
Modifier and Type | Method and Description |
---|---|
ActivityRecord |
ActivitySegment.getRecord(int index)
Get the record at given index
|
Modifier and Type | Method and Description |
---|---|
List<ActivityRecord> |
ActivitySegment.getRecords()
Returns the array of records in this activity segments
|
List<ActivityRecord> |
Activity.getRecords(int segmentId)
Get the array list of records associated with indicated segment.
|
List<ActivityRecord> |
Activity.getWaypoints() |
Modifier and Type | Method and Description |
---|---|
void |
ActivitySegment.addRecord(ActivityRecord record)
Add a record to the segment.
|
int |
ActivityRecord.compareTo(ActivityRecord other) |
boolean |
ActivityRecord.equals(ActivityRecord record)
Checks if this record equals the record passed
|
boolean |
ActivityRecordGps.equals(ActivityRecord record)
Checks if this record equals the record passed
|
Copyright © 2020. All rights reserved.