Package com.gaia3d.basic.remesher
Class CellGrid3D
java.lang.Object
com.gaia3d.basic.remesher.CellGrid3D
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.joml.Vector3igetCellIndex(double x, double y, double z) org.joml.Vector3igetCellIndex(org.joml.Vector3d v)
-
Field Details
-
origin
public org.joml.Vector3d origin -
cellSize
public double cellSize
-
-
Constructor Details
-
CellGrid3D
public CellGrid3D(org.joml.Vector3d origin, double cellSize)
-
-
Method Details
-
getCellIndex
public org.joml.Vector3i getCellIndex(double x, double y, double z) -
getCellIndex
public org.joml.Vector3i getCellIndex(org.joml.Vector3d v)
-