Package mgui.interfaces.graphics.util
Class PickInfoShape2D
java.lang.Object
mgui.interfaces.graphics.util.PickInfoShape2D
- All Implemented Interfaces:
java.lang.Comparable<PickInfoShape2D>
public class PickInfoShape2D extends java.lang.Object implements java.lang.Comparable<PickInfoShape2D>
Provides information about a
Shape2DInt
object which has been intersected with a pick
operation.- Author:
- Andrew Reid
-
Field Summary
Fields Modifier and Type Field Description int
closest_vertex
float
distance_to_closest
Shape2DInt
shape
-
Constructor Summary
Constructors Constructor Description PickInfoShape2D(Shape2DInt shape, int closest_vertex, float distance_to_closest)
-
Method Summary
Modifier and Type Method Description int
compareTo(PickInfoShape2D shape)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
distance_to_closest
public float distance_to_closest -
shape
-
closest_vertex
public int closest_vertex
-
-
Constructor Details
-
PickInfoShape2D
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfacejava.lang.Comparable<PickInfoShape2D>
-