public static class DwHalfEdge.Mesh extends Object
Modifier and Type | Field and Description |
---|---|
DwHalfEdge.Edge[] |
edges |
DwHalfEdge.Face[] |
faces |
DwIndexedFaceSetAble |
ifs |
DwHalfEdge.Vert[] |
verts |
int |
verts_per_face |
Constructor and Description |
---|
Mesh(DwIndexedFaceSetAble ifs) |
Modifier and Type | Method and Description |
---|---|
void |
addFaces(ArrayList<DwHalfEdge.Face> faces_list_new) |
void |
display(processing.opengl.PGraphics3D pg) |
int |
getNumberOfVertexEdges(int vertex_id) |
int |
getVertexEdges(int vertex_id,
DwHalfEdge.Edge[] edges)
returns the number of edges attached to this vertex.
|
public DwIndexedFaceSetAble ifs
public DwHalfEdge.Edge[] edges
public DwHalfEdge.Vert[] verts
public DwHalfEdge.Face[] faces
public int verts_per_face
public Mesh(DwIndexedFaceSetAble ifs)
public void addFaces(ArrayList<DwHalfEdge.Face> faces_list_new)
public int getNumberOfVertexEdges(int vertex_id)
public int getVertexEdges(int vertex_id, DwHalfEdge.Edge[] edges)
vertex_id
- edges
- public void display(processing.opengl.PGraphics3D pg)
Processing library PixelFlow by Thomas Diewald. (c) 2017