Package gov.nih.mipav.model.algorithms
Class LSCM.Mesh
- java.lang.Object
-
- gov.nih.mipav.model.algorithms.LSCM.Mesh
-
- Enclosing class:
- LSCM
class LSCM.Mesh extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.util.List<LSCM.Edge>
m_edges
java.util.List<LSCM.Face>
m_faces
java.util.Map<LSCM.EdgeKey,LSCM.Edge>
m_map_edge
java.util.Map<java.lang.Integer,LSCM.Face>
m_map_face
java.util.Map<java.lang.Integer,LSCM.Vertex>
m_map_vertex
java.util.List<LSCM.Vertex>
m_vertices
LSCM.Edge[]
pEdge
LSCM.Face[]
pFace
LSCM.HalfEdge[]
pHalfEdge
LSCM.Mesh[]
pMesh
LSCM.Vertex[]
pVertex
-
Constructor Summary
Constructors Constructor Description Mesh()
-
Method Summary
-
-
-
Field Detail
-
pVertex
public LSCM.Vertex[] pVertex
-
pHalfEdge
public LSCM.HalfEdge[] pHalfEdge
-
pEdge
public LSCM.Edge[] pEdge
-
pFace
public LSCM.Face[] pFace
-
pMesh
public LSCM.Mesh[] pMesh
-
m_edges
public java.util.List<LSCM.Edge> m_edges
-
m_faces
public java.util.List<LSCM.Face> m_faces
-
m_vertices
public java.util.List<LSCM.Vertex> m_vertices
-
m_map_vertex
public java.util.Map<java.lang.Integer,LSCM.Vertex> m_map_vertex
-
m_map_face
public java.util.Map<java.lang.Integer,LSCM.Face> m_map_face
-
m_map_edge
public java.util.Map<LSCM.EdgeKey,LSCM.Edge> m_map_edge
-
-
Method Detail
-
edges
public java.util.List<LSCM.Edge> edges()
-
faces
public java.util.List<LSCM.Face> faces()
-
vertices
public java.util.List<LSCM.Vertex> vertices()
-
edge_vertex_1
public LSCM.Vertex edge_vertex_1(LSCM.Edge e)
-
edge_vertex_2
public LSCM.Vertex edge_vertex_2(LSCM.Edge e)
-
halfedge_face
public LSCM.Face halfedge_face(LSCM.HalfEdge he)
-
halfedge_vertex
public LSCM.Vertex halfedge_vertex(LSCM.HalfEdge he)
-
is_boundary
public boolean is_boundary(LSCM.Vertex v)
-
is_boundary
public boolean is_boundary(LSCM.Edge e)
-
is_boundary
public boolean is_boundary(LSCM.HalfEdge he)
-
numVertices
public int numVertices()
-
numEdges
public int numEdges()
-
numFaces
public int numFaces()
-
vertexMostClwOutHalfEdge
public LSCM.HalfEdge vertexMostClwOutHalfEdge(LSCM.Vertex v)
-
vertexMostCcwOutHalfEdge
public LSCM.HalfEdge vertexMostCcwOutHalfEdge(LSCM.Vertex v)
-
corner
public LSCM.HalfEdge corner(LSCM.Vertex v, LSCM.Face f)
-
vertexNextCcwOutHalfEdge
public LSCM.HalfEdge vertexNextCcwOutHalfEdge(LSCM.HalfEdge he)
-
vertexNextClwOutHalfEdge
public LSCM.HalfEdge vertexNextClwOutHalfEdge(LSCM.HalfEdge he)
-
vertexMostClwInHalfEdge
public LSCM.HalfEdge vertexMostClwInHalfEdge(LSCM.Vertex v)
-
vertexMostCcwInHalfEdge
public LSCM.HalfEdge vertexMostCcwInHalfEdge(LSCM.Vertex v)
-
vertexNextCcwInHalfEdge
public LSCM.HalfEdge vertexNextCcwInHalfEdge(LSCM.HalfEdge he)
-
vertexNextClwInHalfEdge
public LSCM.HalfEdge vertexNextClwInHalfEdge(LSCM.HalfEdge he)
-
faceNextClwHalfEdge
public LSCM.HalfEdge faceNextClwHalfEdge(LSCM.HalfEdge he)
-
faceNextCcwHalfEdge
public LSCM.HalfEdge faceNextCcwHalfEdge(LSCM.HalfEdge he)
-
faceMostCcwHalfEdge
public LSCM.HalfEdge faceMostCcwHalfEdge(LSCM.Face face)
-
faceMostClwHalfEdge
public LSCM.HalfEdge faceMostClwHalfEdge(LSCM.Face face)
-
clear
public void clear()
-
edge_length
public double edge_length(LSCM.Edge e)
-
create_vertex
public LSCM.Vertex create_vertex(int id)
-
read_obj
public int read_obj(java.lang.String filename)
-
create_face
public LSCM.Face create_face(LSCM.Vertex[] v, int id)
-
id_vertex
public LSCM.Vertex id_vertex(int id)
-
vertex_id
public int vertex_id(LSCM.Vertex v)
-
id_face
public LSCM.Face id_face(int id)
-
face_id
public int face_id(LSCM.Face f)
-
create_edge
public LSCM.Edge create_edge(LSCM.Vertex v1, LSCM.Vertex v2)
-
vertex_edge
public LSCM.Edge vertex_edge(LSCM.Vertex v0, LSCM.Vertex v1)
-
vertex_halfedge
public LSCM.HalfEdge vertex_halfedge(LSCM.Vertex v0, LSCM.Vertex v1)
-
write_obj
public int write_obj(java.lang.String output)
-
-