public class Point3d extends Object
Constructor and Description |
---|
Point3d() |
Point3d(double x,
double y,
double z) |
Point3d(Point3d other) |
Modifier and Type | Method and Description |
---|---|
double |
distanceTo(Point3d other)
Calculates the distances between two locations
Accounts for negative Z/C/T locations (location everywhere)
|
boolean |
equals(Object o) |
double |
getX() |
double |
getY() |
double |
getZ() |
int |
hashCode() |
Vector3d |
pixelsToUnit(Quantity vsx,
Quantity vsy,
Quantity vsz,
String unit) |
void |
setX(double x) |
void |
setY(double y) |
void |
setZ(double z) |
Vector3D |
toApacheVector3d() |
Vector3d |
toNormalizedVector3d() |
Vector3d |
toSciJavaVector3d() |
String |
toString() |
public Point3d()
public Point3d(double x, double y, double z)
public Point3d(Point3d other)
public double getX()
public void setX(double x)
public double getY()
public void setY(double y)
public double getZ()
public void setZ(double z)
public double distanceTo(Point3d other)
other
- the other locationpublic Vector3d toSciJavaVector3d()
public Vector3D toApacheVector3d()
public Vector3d toNormalizedVector3d()
Copyright © 2020–2024 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.