public class FullInfoMesh extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
FullInfoMesh.Edge |
protected static class |
FullInfoMesh.Triangle |
protected static class |
FullInfoMesh.Vertex |
Constructor and Description |
---|
FullInfoMesh() |
FullInfoMesh(List<Point3f> mesh) |
Modifier and Type | Method and Description |
---|---|
void |
addFace(int f1,
int f2,
int f3) |
int |
addVertex(Point3f p) |
int |
contractEdge(FullInfoMesh.Edge e,
Point3f p) |
int |
getFace(int i) |
int |
getFaceCount() |
void |
getFaceNormal(int fIdx,
Vector3f ret) |
int |
getIndex(Point3f v) |
List<Point3f> |
getMesh() |
ArrayList<ArrayList<Point3f>> |
getSubmeshes() |
FullInfoMesh.Vertex |
getVertex(int i) |
int |
getVertexCount() |
void |
getVertexNormal(FullInfoMesh.Vertex v,
Vector3f ret) |
void |
getVertexNormal(int vIdx,
Vector3f ret) |
Set<Point3f> |
getVertices() |
void |
moveVertex(int vIdx,
Vector3f displacement) |
void |
removeFace(int fIdx) |
void |
removeVertex(int vIdx) |
void |
removeVertex(Point3f p) |
public void moveVertex(int vIdx, Vector3f displacement)
public int getIndex(Point3f v)
public int getVertexCount()
public FullInfoMesh.Vertex getVertex(int i)
public int getFaceCount()
public int getFace(int i)
public int addVertex(Point3f p)
public void removeVertex(Point3f p)
public void removeVertex(int vIdx)
public void removeFace(int fIdx)
public void addFace(int f1, int f2, int f3)
public void getFaceNormal(int fIdx, Vector3f ret)
public void getVertexNormal(FullInfoMesh.Vertex v, Vector3f ret)
public void getVertexNormal(int vIdx, Vector3f ret)
public int contractEdge(FullInfoMesh.Edge e, Point3f p)
Copyright © 2015–2021 Fiji. All rights reserved.