Class TINFeatureFactory


  • public final class TINFeatureFactory
    extends Object
    A factory used to create triangles from JTS geometries.
    Author:
    Erwan Bocher
    • Method Detail

      • createTriangle

        public static org.locationtech.jts.geom.Triangle createTriangle​(org.locationtech.jts.geom.Geometry geom)
                                                                 throws IllegalArgumentException
        A factory to create a DTriangle from a Geometry
        Parameters:
        geom -
        Returns:
        Throws:
        IllegalArgumentException - If there are not exactly 3 coordinates in geom.