T - - type representing a geometry value at a specific momentpublic interface SolidMovingGeometry<T extends Geometry> extends MovingGeometry<T>
This class serves for tracking movement of a spatial object over time where the spatial object has a solid reference geometry. For example, an application might track movement of a ship and the ship's own geometry is important for computation.
The common scenario for using moving geometry is as follows:MovingGeometryFactoryTheoretically one can imagine a moving geometry that tracks the entire history of an object's movement from its creation to its end of life, which in some cases might not be limited in time. However, in reality this is impractical and often not necessary. Therefore one can limit the size of the geometry history by providing a value for the history time limit. By default the history is limited to 24 hours.
| Modifier and Type | Method and Description |
|---|---|
T |
getReferenceGeometry()
Represent the shape of a moving object with a fixed shape.
|
T |
move(double x,
double y,
LengthUnit units,
java.time.ZonedDateTime time)
Deprecated.
use
MovingGeometry#move(Vector, LengthUnit, ZonedDateTime) instead |
T |
move(Vector direction,
LengthUnit units,
java.time.ZonedDateTime time)
Move in the direction of the direction parameter defined by the length
unit.
|
T |
moveTo(double x,
double y,
java.time.ZonedDateTime time)
Deprecated.
use
MovingGeometry#moveTo(Point, ZonedDateTime)) instead |
T |
moveTo(Point point,
java.time.ZonedDateTime time)
Move this object to the specified point (relative to its reference geometry)
|
T |
rotate(double angle,
AngleUnit units,
java.time.ZonedDateTime time)
Rotate the geometry by the value of angle, defined by the angle units
|
T |
scale(double[] scale,
Point currentRefPoint,
java.time.ZonedDateTime time)
Scale the geometry by the scale array.
|
T |
scale(double[] scaleVector,
java.time.ZonedDateTime time)
Scale the geometry by the scale factor in both axes
|
T |
scale(double scaleFactor1,
double scaleFactor2,
Point currentRefPoint,
java.time.ZonedDateTime time)
Deprecated.
use
MovingGeometry#scale(double[], Point, ZonedDateTime) instead |
T |
scale(double sx,
double sy,
java.time.ZonedDateTime time)
Deprecated.
use
MovingGeometry#scale(double[], ZonedDateTime) instead |
T |
scale(double scale,
Point currentRefPoint,
java.time.ZonedDateTime time)
Scale the geometry by the scale factor defined by scale on all axes
around currentRefPoint
|
T |
scale(double scaleFactor,
java.time.ZonedDateTime time)
Scale the geometry by the scale factor in both axes
|
T |
shear(double sx,
double sy,
java.time.ZonedDateTime time)
Deprecated.
use
SolidMovingGeometry#shear(double[]) instead |
T |
transform(Transformation transformation,
java.time.ZonedDateTime time)
Transform the geometry according to the transformation parameter
|
getAcceleration, getAcceleration, getAvgSpeed, getAvgSpeed, getDuration, getDynamicTimeWarpingDistance, getEncounters, getFirstObservedGeometry, getFirstObservedTime, getFretchetDistance, getGeometry, getGeometryAtTime, getHistoryTimeLimit, getId, getLastObservedGeometry, getLastObservedTime, getLength, getLineString, getMaxSpeed, getMaxSpeed, getMinRouteDistance, getMinSpeed, getMinSpeed, getNumberOfSnapshots, getSnapshot, getSnapshots, getSnapshots, getSnapshots, getSpeed, getSpeed, getSubtrajectory, getSynchronizedDistanceMax, getSynchronizedDistanceMin, getSynchronizedDistanceSum, hasBeenDwellingInAreaDuringTimePeriod, hasBeenDwellingInAreaSince, hasBeenDwellingWithinDistanceDuringTimePeriod, hasBeenDwellingWithinDistanceSince, hasEntered, hasEnteredSince, hasExited, hasExitedSince, isAccelerating, isAccelerating, isApproaching, isDecelerating, isDecelerating, isLeaving, isMoving, setGeometryAtTime, setHistoryTimeLimit, setIdgetMovingGeometryclone, contains, equals, getArea, getArea, getBoundingBox, getContained, getContainers, getCoordinateReferenceSystem, getDistance, getHeading, getKNearestNeighbors, getNearestNeighbor, getReferencePoint, getSqrDistance, getWithinDistance, intersects, setHeading, setReferencePoint, toString, toStringT getReferenceGeometry()
T moveTo(Point point, java.time.ZonedDateTime time)
point - time - T moveTo(double x, double y, java.time.ZonedDateTime time)
MovingGeometry#moveTo(Point, ZonedDateTime)) insteadpoint - time - T move(double x, double y, LengthUnit units, java.time.ZonedDateTime time)
MovingGeometry#move(Vector, LengthUnit, ZonedDateTime) insteadx - y - units - time - T scale(double scaleFactor, java.time.ZonedDateTime time)
scaleFactor - time - the time of the transformationT scale(double[] scaleVector, java.time.ZonedDateTime time)
scaleVector - time - - the time of the transformationT scale(double sx, double sy, java.time.ZonedDateTime time)
MovingGeometry#scale(double[], ZonedDateTime) insteadsx - sy - time - - the time of the transformationT scale(double scale, Point currentRefPoint, java.time.ZonedDateTime time)
scale - currentRefPoint - time - the time of the transformationT scale(double scaleFactor1, double scaleFactor2, Point currentRefPoint, java.time.ZonedDateTime time)
MovingGeometry#scale(double[], Point, ZonedDateTime) insteadscaleFactor1 - scaleFactor2 - currentRefPoint - time - the time of the transformationT scale(double[] scale, Point currentRefPoint, java.time.ZonedDateTime time)
scale - currentRefPoint - time - the time of the transformationT shear(double sx, double sy, java.time.ZonedDateTime time)
SolidMovingGeometry#shear(double[]) insteadsx - sy - time - - the time of the transformationT transform(Transformation transformation, java.time.ZonedDateTime time)
transformation - time - the time of the transformationT rotate(double angle, AngleUnit units, java.time.ZonedDateTime time)
angle - units - time - - the time of the transformationT move(Vector direction, LengthUnit units, java.time.ZonedDateTime time)
direction - units - time - © Copyright IBM 2017