Package mil.nga.sf

Class Triangle

    • Constructor Detail

      • Triangle

        public Triangle()
        Constructor
      • Triangle

        public Triangle​(boolean hasZ,
                        boolean hasM)
        Constructor
        Parameters:
        hasZ - has z
        hasM - has m
      • Triangle

        public Triangle​(List<LineString> rings)
        Constructor
        Parameters:
        rings - list of rings
      • Triangle

        public Triangle​(LineString ring)
        Constructor
        Parameters:
        ring - ring
      • Triangle

        public Triangle​(Triangle triangle)
        Copy Constructor
        Parameters:
        triangle - triangle to copy
    • Method Detail

      • copy

        public Geometry copy()
        Copy the geometry
        Overrides:
        copy in class Polygon
        Returns:
        geometry copy