Package com.gaia3d.basic.halfedge
Class MapVertexAllOutingEdgesIndices
java.lang.Object
com.gaia3d.basic.halfedge.MapVertexAllOutingEdgesIndices
-
Constructor Summary
ConstructorsConstructorDescriptionMapVertexAllOutingEdgesIndices(int[] vertexOffsets, int[] vertexOutingEdges) -
Method Summary
Modifier and TypeMethodDescriptionvoidforEachFace(int vertexIdx, IntConsumer consumer) intgetEdgeIndex(int i) intgetEdgeIndexOfVertex(int vertexIdx, int edgeLocalIdx) int[]getEdgeIndices(int vertexIdx) intgetEdgesCountOfVertex(int vertexIdx) intgetEnd(int vertexIdx) intgetStart(int vertexIdx) int
-
Constructor Details
-
MapVertexAllOutingEdgesIndices
public MapVertexAllOutingEdgesIndices(int[] vertexOffsets, int[] vertexOutingEdges)
-
-
Method Details
-
getVertexCount
public int getVertexCount() -
getStart
public int getStart(int vertexIdx) -
getEnd
public int getEnd(int vertexIdx) -
getEdgeIndex
public int getEdgeIndex(int i) -
getEdgeIndexOfVertex
public int getEdgeIndexOfVertex(int vertexIdx, int edgeLocalIdx) -
getEdgesCountOfVertex
public int getEdgesCountOfVertex(int vertexIdx) -
getEdgeIndices
public int[] getEdgeIndices(int vertexIdx) -
forEachFace
-