Autopsy  4.15.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Protected Attributes | Static Private Member Functions | List of all members
org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint Class Reference

Inherits Comparable< XYZPoint >.

Inherited by org.sleuthkit.autopsy.geolocation.MapWaypoint.

Public Member Functions

 XYZPoint (Double latitude, Double longitude)
 
int compareTo (XYZPoint o)
 
boolean equals (Object obj)
 
double euclideanDistance (XYZPoint o1)
 
double getX ()
 
double getY ()
 
double getZ ()
 
int hashCode ()
 
String toString ()
 

Protected Attributes

final double x
 
final double y
 
final double z
 

Static Private Member Functions

static double euclideanDistance (XYZPoint o1, XYZPoint o2)
 

Detailed Description

An XYZPoint is a representation of a three dimensional point.

Z value will always been 0 when using latitude and longitude values.

Definition at line 578 of file KdTree.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.XYZPoint ( Double  latitude,
Double  longitude 
)

Constructs a new XYZPoint.

Parameters
latitude
longitude

Definition at line 590 of file KdTree.java.

Referenced by org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.equals().

Member Function Documentation

int org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.compareTo ( XYZPoint  o)
boolean org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.equals ( Object  obj)
double org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.euclideanDistance ( XYZPoint  o1)

Computes the Euclidean distance from this point to the other.

Parameters
o1other point.
Returns
euclidean distance.

Definition at line 630 of file KdTree.java.

Referenced by org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.EuclideanComparator.compare().

static double org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.euclideanDistance ( XYZPoint  o1,
XYZPoint  o2 
)
staticprivate

Computes the Euclidean distance from one point to the other.

Source for the distance calculation: https://www.movable-type.co.uk/scripts/latlong.html

Parameters
o1first point.
o2second point.
Returns
euclidean distance.

Definition at line 645 of file KdTree.java.

References org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.equals(), org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.getX(), and org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.getY().

double org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.getX ( )

Returns the x(latitude) value for the point.

Returns
x(latitude) value for the point

Definition at line 601 of file KdTree.java.

References org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.x.

Referenced by org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.euclideanDistance().

double org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.getY ( )

Returns the y/longitude value for the point.

Returns
Longitude for point

Definition at line 610 of file KdTree.java.

References org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.y.

Referenced by org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.euclideanDistance().

double org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.getZ ( )

Returns the z value, will always be 0.

Returns
Always 0.

Definition at line 619 of file KdTree.java.

References org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.z.

int org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.hashCode ( )
String org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.toString ( )

Definition at line 714 of file KdTree.java.

Member Data Documentation

final double org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.x
protected
final double org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.y
protected
final double org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.z
protected

The documentation for this class was generated from the following file:

Copyright © 2012-2020 Basis Technology. Generated on: Mon Jul 6 2020
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.