public class Point3d extends Object
Constructor and Description |
---|
Point3d() |
Point3d(double x,
double y,
double z) |
Modifier and Type | Method and Description |
---|---|
static Point3d |
average(Point3d[] list) |
double |
distance2(Point3d other) |
double |
distanceTo(Point3d other) |
double |
length() |
static void |
main(String[] args) |
Point3d |
minus(Point3d other) |
static Point3d |
parsePoint(String s) |
static Point3d[] |
parsePoints(String s) |
Point3d |
plus(Point3d other) |
static void |
print(Point3d[] points) |
double |
scalar(Point3d other) |
Point3d |
times(double factor) |
double[] |
toArray() |
double[] |
toArrayDouble() |
float[] |
toArrayFloat() |
String |
toString() |
Point3d |
vector(Point3d other) |
public double[] toArray()
public float[] toArrayFloat()
public double[] toArrayDouble()
public double scalar(Point3d other)
public Point3d times(double factor)
public double length()
public double distance2(Point3d other)
public double distanceTo(Point3d other)
public static void print(Point3d[] points)
public static void main(String[] args)
Copyright © 2015–2021 Fiji. All rights reserved.