Class ModelSurfaceTopology.VertexAttribute

  • Enclosing class:
    ModelSurfaceTopology

    protected class ModelSurfaceTopology.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
    • Field Detail

      • m_kData

        public java.lang.Object m_kData
        support for application-specific data.
      • m_kESet

        public ModelSet m_kESet
        set of .
      • m_kTSet

        public ModelSet m_kTSet
        set of .
    • 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