Class VETMesh.VertexAttribute

  • Enclosing class:
    VETMesh

    protected class VETMesh.VertexAttribute
    extends java.lang.Object
    The attributes associated with a vertex. These include the set of edges sharing the vertex and the set of triangles sharing the vertex. The data member m_kData allows an application to attach whatever data it wants associated with the vertex. The attachment/detachment is performed by the application in the OnVertexInsert/OnVertexRemove callbacks.
    • Constructor Summary

      Constructors 
      Constructor Description
      VertexAttribute()
      Construct an attribute for a vertex.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean IsEmpty()
      Test if the sets of adjacent edges and triangles are empty.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VertexAttribute

        public VertexAttribute()
        Construct an attribute for a vertex. The sets of edges and triangles are initially empty.
    • Method Detail

      • IsEmpty

        public boolean IsEmpty()
        Test if the sets of adjacent edges and triangles are empty. The function is used to determine the bCreate/bDestroy parameters in the OnVertexInsert/OnVertexRemove callbacks.
        Returns:
        true iff the vertex has no adjacent edges and triangles