Class WEVertex

All Implemented Interfaces:
Comparable<ReadonlyVec3D>, ReadonlyVec3D

public class WEVertex extends Vertex
  • Field Details

  • Constructor Details

    • WEVertex

      public WEVertex(Vec3D v, int id)
  • Method Details

    • addEdge

      public void addEdge(WingedEdge e)
    • getEdges

      public List<WingedEdge> getEdges()
    • getNeighborInDirection

      public WEVertex getNeighborInDirection(ReadonlyVec3D dir, float tolerance)
    • getNeighbors

      public List<WEVertex> getNeighbors()
    • getRelatedFaces

      public List<WEFace> getRelatedFaces()
      Returns a list of all faces this vertex belongs to.
      Returns:
      face list
    • removeEdge

      public void removeEdge(WingedEdge e)
    • toString

      public String toString()
      Overrides:
      toString in class Vertex