Package mil.nga.sf
Class Triangle
- java.lang.Object
-
- mil.nga.sf.Geometry
-
- mil.nga.sf.Surface
-
- mil.nga.sf.CurvePolygon<LineString>
-
- mil.nga.sf.Polygon
-
- mil.nga.sf.Triangle
-
- All Implemented Interfaces:
Serializable
public class Triangle extends Polygon
Triangle- Author:
- osbornb
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Triangle()
ConstructorTriangle(boolean hasZ, boolean hasM)
ConstructorTriangle(List<LineString> rings)
ConstructorTriangle(LineString ring)
ConstructorTriangle(Triangle triangle)
Copy Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Geometry
copy()
Copy the geometry-
Methods inherited from class mil.nga.sf.CurvePolygon
addRing, addRings, equals, getExteriorRing, getInteriorRing, getRing, getRings, hashCode, isEmpty, numInteriorRings, numRings, setRings
-
Methods inherited from class mil.nga.sf.Geometry
expandEnvelope, getCentroid, getDegreesCentroid, getDimension, getEnvelope, getGeometryType, hasM, hasZ, is3D, isMeasured, setHasM, setHasZ, updateZM
-
-
-
-
Constructor Detail
-
Triangle
public Triangle()
Constructor
-
Triangle
public Triangle(boolean hasZ, boolean hasM)
Constructor- Parameters:
hasZ
- has zhasM
- 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
-
-