Class XYZSolidFactory


  • public class XYZSolidFactory
    extends java.lang.Object
    Factory for XYZSolid.
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private XYZSolidFactory()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static XYZSolid makeXYZSolid​(PlanetModel planetModel, double minX, double maxX, double minY, double maxY, double minZ, double maxZ)
      Create a XYZSolid of the right kind given (x,y,z) bounds.
      static XYZSolid makeXYZSolid​(PlanetModel planetModel, XYZBounds bounds)
      Create a XYZSolid of the right kind given (x,y,z) bounds.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XYZSolidFactory

        private XYZSolidFactory()
    • Method Detail

      • makeXYZSolid

        public static XYZSolid makeXYZSolid​(PlanetModel planetModel,
                                            double minX,
                                            double maxX,
                                            double minY,
                                            double maxY,
                                            double minZ,
                                            double maxZ)
        Create a XYZSolid of the right kind given (x,y,z) bounds.
        Parameters:
        planetModel - is the planet model
        minX - is the min X boundary
        maxX - is the max X boundary
        minY - is the min Y boundary
        maxY - is the max Y boundary
        minZ - is the min Z boundary
        maxZ - is the max Z boundary
      • makeXYZSolid

        public static XYZSolid makeXYZSolid​(PlanetModel planetModel,
                                            XYZBounds bounds)
        Create a XYZSolid of the right kind given (x,y,z) bounds.
        Parameters:
        planetModel - is the planet model
        bounds - is the XYZ bounds object.
        Returns:
        the solid.