uk.ac.ed.computational_geometry.algorithm.mesh_optimisation
Class Mesh.Vertex

java.lang.Object
  extended by uk.ac.ed.computational_geometry.algorithm.mesh_optimisation.Mesh.Vertex
Enclosing class:
Mesh

public static class Mesh.Vertex
extends Object


Nested Class Summary
static class Mesh.Vertex.Type
           
 
Field Summary
 int id
           
 javax.vecmath.Point3d point
           
 
Constructor Summary
protected Mesh.Vertex(javax.vecmath.Point3d point, int id)
           
 
Method Summary
protected  void addTriangle(Mesh.Triangle triangle)
           
 boolean equals(Object object)
           
 Plane3d getAveragePlane()
           
 Mesh.CycleOfTriangles getCycleOfTriangles()
           
protected  double getDistanceToAveragePlane()
           
protected  double getDistanceToInteriorEdge()
           
 javax.vecmath.Point3d getPoint()
           
 List<Mesh.Triangle> getTriangles()
           
 Mesh.Vertex.Type getType()
           
protected  void invalidate()
           
protected  void removeTriangle(Mesh.Triangle triangle)
           
 String toString()
           
protected  void validate()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

point

public javax.vecmath.Point3d point

id

public int id
Constructor Detail

Mesh.Vertex

protected Mesh.Vertex(javax.vecmath.Point3d point,
                      int id)
Method Detail

equals

public boolean equals(Object object)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

getPoint

public javax.vecmath.Point3d getPoint()

getTriangles

public List<Mesh.Triangle> getTriangles()

getCycleOfTriangles

public Mesh.CycleOfTriangles getCycleOfTriangles()

getType

public Mesh.Vertex.Type getType()

getAveragePlane

public Plane3d getAveragePlane()

addTriangle

protected void addTriangle(Mesh.Triangle triangle)

removeTriangle

protected void removeTriangle(Mesh.Triangle triangle)

getDistanceToAveragePlane

protected double getDistanceToAveragePlane()

getDistanceToInteriorEdge

protected double getDistanceToInteriorEdge()

validate

protected void validate()

invalidate

protected void invalidate()