Autopsy  4.19.3
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.datasourcesummary.datamodel.CityRecord, and org.sleuthkit.autopsy.geolocation.MapWaypoint.

Public Member Functions

 XYZPoint (Double x, Double y)
 
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 628 of file KdTree.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.XYZPoint ( Double  x,
Double  y 
)

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 680 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 695 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 ( )
double org.sleuthkit.autopsy.geolocation.KdTree< T extends KdTree.XYZPoint >.XYZPoint.getY ( )
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 669 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 764 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-2022 Basis Technology. Generated on: Wed Sep 28 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.