Examples of minZ()


Examples of com.esri.core.geometry.ogc.OGCGeometry.MinZ()

    if (!ogcGeometry.is3D()) {
      LogUtils.Log_Not3D(LOG);
      return null;
    }

    resultDouble.set(ogcGeometry.MinZ());
    return resultDouble;
  }

}
View Full Code Here

Examples of com.esri.core.geometry.ogc.OGCGeometry.MinZ()

    if (!ogcGeometry.is3D()) {
      LogUtils.Log_Not3D(LOG);
      return null;
    }

    resultDouble.set(ogcGeometry.MinZ());
    return resultDouble;
  }

}
View Full Code Here

Examples of org.terasology.math.Region3i.minZ()

                    ChunkConstants.SIZE_Y * chunkCoordinate.y,
                    ChunkConstants.SIZE_Z * chunkCoordinate.z);
            Region3i chunkWorldRegion = Region3i.createFromMinAndSize(minWorldPosForChunk, ChunkConstants.CHUNK_SIZE);

            int hmX = (((chunkWorldRegion.minX() / chunkWorldRegion.sizeX()) % 512) + 512) % 512;
            int hmZ = (((chunkWorldRegion.minZ() / chunkWorldRegion.sizeZ()) % 512) + 512) % 512;

            double scaleFactor = 0.05 * MAX_HEIGHT;

            double p00 = heightmap[hmX][hmZ] * scaleFactor;
            double p10 = heightmap[(hmX - 1 + 512) % 512][(hmZ) % 512] * scaleFactor;
 
View Full Code Here

Examples of org.terasology.math.Region3i.minZ()

            double p10 = heightmap[(hmX - 1 + 512) % 512][(hmZ) % 512] * scaleFactor;
            double p11 = heightmap[(hmX - 1 + 512) % 512][(hmZ + 1 + 512) % 512] * scaleFactor;
            double p01 = heightmap[(hmX) % 512][(hmZ + 1 + 512) % 512] * scaleFactor;

            Rect2i worldRegion = Rect2i.createFromMinAndSize(chunkWorldRegion.minX(),
                    chunkWorldRegion.minZ(),
                    chunkWorldRegion.sizeX(),
                    chunkWorldRegion.sizeZ());

            for (Vector2i pos : worldRegion) {
                Vector3i localPos = TeraMath.calcBlockPos(new Vector3i(pos.x, 0, pos.y));
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.