Class QueryShapeVertex

java.lang.Object
mgui.interfaces.shapes.queries.QueryShapeVertex
All Implemented Interfaces:
java.lang.Comparable<QueryShapeVertex>, InterfaceQueryObject

public class QueryShapeVertex
extends java.lang.Object
implements InterfaceQueryObject, java.lang.Comparable<QueryShapeVertex>
Represents a specific vertex in a shape, for vertex-wise queries.
Since:
1.0
Version:
1.0
Author:
Andrew Reid
  • Field Summary

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

    Constructors
    Constructor Description
    QueryShapeVertex​(InterfaceShape shape, int index)  
  • Method Summary

    Modifier and Type Method Description
    int compareTo​(QueryShapeVertex v)  
    int getIndex()  
    InterfaceShape getShape()  
    boolean queryObject​(InterfaceQuery query)
    Returns an appropriate instance of InterfaceQuery which provides specific information about this object.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait