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() |
org.scijava.vecmath.Vector3d |
pixelsToUnit(Quantity vsx,
Quantity vsy,
Quantity vsz,
String unit) |
void |
setX(double x) |
void |
setY(double y) |
void |
setZ(double z) |
org.apache.commons.math3.geometry.euclidean.threed.Vector3D |
toApacheVector3d() |
org.scijava.vecmath.Vector3d |
toNormalizedVector3d() |
org.scijava.vecmath.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 org.scijava.vecmath.Vector3d toSciJavaVector3d()
public org.apache.commons.math3.geometry.euclidean.threed.Vector3D toApacheVector3d()
public org.scijava.vecmath.Vector3d toNormalizedVector3d()
public org.scijava.vecmath.Vector3d pixelsToUnit(Quantity vsx, Quantity vsy, Quantity vsz, String unit)
Copyright © 2020–2025 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.