Package geomss.j3d

Class J3DGeomGroupFactory


  • public class J3DGeomGroupFactory
    extends java.lang.Object
    A factory for creating J3DGeomGroup objects appropriate to the provided GeomElement object.

    Modified by: Joseph A. Huwaldt

    Version:
    January 30, 2017
    Author:
    Joseph A. Huwaldt, Date: May 1, 2009
    • Method Detail

      • newGroup

        public static J3DGeomGroup newGroup​(GeomSSCanvas3D canvas,
                                            GeomElement element)
        Return a J3DGeomGroup object appropriate to the supplied GeomElement or null if an appropriate J3DGeomGroup can not be found.
        Parameters:
        canvas - The 3D canvas the geometry is being rendered into.
        element - The geometry element to have a J3DGeomGroup created for.
        Returns:
        A J3DGeomGroup object representing the supplied GeomElement or null.