Class CollisionResult.CollisionPair

  • Enclosing class:
    CollisionResult

    public static class CollisionResult.CollisionPair
    extends java.lang.Object
    a collision pair of
    • Constructor Detail

      • CollisionPair

        public CollisionPair​(long cPtr,
                             boolean cMemoryOwn)
      • CollisionPair

        public CollisionPair()
        Default constructor
    • Method Detail

      • delete

        public void delete()
      • setGeoIdxA

        public void setGeoIdxA​(int value)
        geometry index
      • getGeoIdxA

        public int getGeoIdxA()
        geometry index
      • setGeoIdxB

        public void setGeoIdxB​(int value)
      • getGeoIdxB

        public int getGeoIdxB()
      • setStartIdx

        public void setStartIdx​(int value)
        indices into the geomPrimIds array, which means that inidicies
        [_geomPrimIds[startIdx];_geomPrimIds[startIdx+size]] are the colliding primitives
        between geometries geoIdxA and geoIdxB
      • getStartIdx

        public int getStartIdx()
        indices into the geomPrimIds array, which means that inidicies
        [_geomPrimIds[startIdx];_geomPrimIds[startIdx+size]] are the colliding primitives
        between geometries geoIdxA and geoIdxB
      • setSize

        public void setSize​(int value)
      • getSize

        public int getSize()