Class ShapeVertexObject

java.lang.Object
mgui.interfaces.shapes.util.ShapeVertexObject

public class ShapeVertexObject
extends java.lang.Object
Used as a user object for a Java3D Node representing a single vertex. Stores a pointer to the shape and its vertex index.
Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • Field Summary

    Fields
    Modifier and Type Field Description
    protected int index  
    protected Shape3DInt shape  
  • Constructor Summary

    Constructors
    Constructor Description
    ShapeVertexObject​(Shape3DInt shape, int index)  
  • Method Summary

    Modifier and Type Method Description
    int getIndex()  
    Shape3DInt getShape()  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • shape

      protected Shape3DInt shape
    • index

      protected int index
  • Constructor Details

    • ShapeVertexObject

      public ShapeVertexObject​(Shape3DInt shape, int index)
  • Method Details

    • getShape

      public Shape3DInt getShape()
    • getIndex

      public int getIndex()