Class CellGrid3D

java.lang.Object
com.gaia3d.basic.remesher.CellGrid3D

public class CellGrid3D extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    double
     
    org.joml.Vector3d
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    CellGrid3D(org.joml.Vector3d origin, double cellSize)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.joml.Vector3i
    getCellIndex(double x, double y, double z)
     
    org.joml.Vector3i
    getCellIndex(org.joml.Vector3d v)
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)