public class Point3d extends Object
Constructor and Description |
---|
Point3d() |
Point3d(int x,
int y,
int 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) |
int |
getX() |
int |
getY() |
int |
getZ() |
int |
hashCode() |
Vector3d |
pixelsToUnit(Quantity vsx,
Quantity vsy,
Quantity vsz,
String unit) |
void |
setX(int x) |
void |
setY(int y) |
void |
setZ(int z) |
Vector3d |
toNormalizedVector3d() |
String |
toString() |
Vector3d |
toVector3d() |
public Point3d()
public Point3d(int x, int y, int z)
public Point3d(Point3d other)
public int getX()
public void setX(int x)
public int getY()
public void setY(int y)
public int getZ()
public void setZ(int z)
public double distanceTo(Point3d other)
other
- the other locationpublic Vector3d toVector3d()
public Vector3d toNormalizedVector3d()
Copyright © 2020–2023 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.