com.kuka.geometry.forms
Enum CuboidVertex

java.lang.Object
  extended by java.lang.Enum<CuboidVertex>
      extended by com.kuka.geometry.forms.CuboidVertex
All Implemented Interfaces:
Serializable, Comparable<CuboidVertex>

public enum CuboidVertex
extends Enum<CuboidVertex>

Defines the vertexes of a cuboid.

The reference frame of the cuboid matches with vertex X0Y0Z0.

   o--------o
  /|       /|
 o-|------o |
 | o------|-o
 |/       |/
 X--------o
 


Enum Constant Summary
X0Y0Z0
          This vertex matches the reference frame.
X0Y0Z1
          Vertex in +z from reference frame.
X0Y1Z0
          Vertex in +y from reference frame.
X0Y1Z1
          Vertex in +y/+z from reference frame.
X1Y0Z0
          Vertex in +x from reference frame.
X1Y0Z1
          Vertex in +x/+z from reference frame.
X1Y1Z0
          Vertex in +x/+y from reference frame.
X1Y1Z1
          Vertex in +x/+y/+z from reference frame.
 
Method Summary
static CuboidVertex valueOf(String name)
          Returns the enum constant of this type with the specified name.
static CuboidVertex[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

X0Y0Z0

public static final CuboidVertex X0Y0Z0
This vertex matches the reference frame.
   o--------o
  /|       /|
 o-|------o |
 | o------|-o
 |/       |/
 X--------o
 


X1Y0Z0

public static final CuboidVertex X1Y0Z0
Vertex in +x from reference frame.
   o--------o
  /|       /|
 o-|------o |
 | o------|-o
 |/       |/
 o--------X
 


X1Y1Z0

public static final CuboidVertex X1Y1Z0
Vertex in +x/+y from reference frame.
   o--------o
  /|       /|
 o-|------o |
 | o------|-X
 |/       |/
 o--------o
 


X0Y1Z0

public static final CuboidVertex X0Y1Z0
Vertex in +y from reference frame.
   o--------o
  /|       /|
 o-|------o |
 | X------|-o
 |/       |/
 o--------o
 


X0Y0Z1

public static final CuboidVertex X0Y0Z1
Vertex in +z from reference frame.
   o--------o
  /|       /|
 X-|------o |
 | o------|-o
 |/       |/
 o--------o
 


X1Y0Z1

public static final CuboidVertex X1Y0Z1
Vertex in +x/+z from reference frame.
   o--------o
  /|       /|
 o-|------X |
 | o------|-o
 |/       |/
 o--------o
 


X1Y1Z1

public static final CuboidVertex X1Y1Z1
Vertex in +x/+y/+z from reference frame.
   o--------X
  /|       /|
 o-|------o |
 | o------|-o
 |/       |/
 o--------o
 


X0Y1Z1

public static final CuboidVertex X0Y1Z1
Vertex in +y/+z from reference frame.
   X--------o
  /|       /|
 o-|------o |
 | o------|-o
 |/       |/
 o--------o
 

Method Detail

values

public static CuboidVertex[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (CuboidVertex c : CuboidVertex.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static CuboidVertex valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2019. All rights reserved.