public enum Axis3D extends Enum<Axis3D>
| Modifier and Type | Method and Description |
|---|---|
double |
getCoord(Point3D point)
Get coordinate of the axis
|
double |
getCoord(Vector3D vector)
Get coordinate of the axis
|
static Axis3D |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Axis3D[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Axis3D X
public static final Axis3D Y
public static final Axis3D Z
public static Axis3D[] values()
for (Axis3D c : Axis3D.values()) System.out.println(c);
public static Axis3D valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic double getCoord(Point3D point)
public double getCoord(Vector3D vector)
Copyright © 2018 AMIS research group, Faculty of Mathematics and Physics, Charles University in Prague, Czech Republic. All rights reserved.