public enum CurveSegmentType extends Enum<CurveSegmentType>
| Enum Constant and Description |
|---|
ARC_BY_CENTER
gml:ArcByCenterPoint, gml:CircleByCenterPoint
|
ARC_STRING
gml:ArcString, gml:Arc, gml:Circle
|
GEODESIC_STRING
gml:GeodesicString, gml:Geodesic
|
LINE_STRING
gml:LineStringSegment
|
| Modifier and Type | Method and Description |
|---|---|
abstract List<Coordinate> |
getCoordinateList(org.geotoolkit.gml.xml.AbstractCurveSegment segment,
CoordinateReferenceSystem crs)
Returns a list of points on a curve segment.
|
static CurveSegmentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CurveSegmentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CurveSegmentType LINE_STRING
public static final CurveSegmentType GEODESIC_STRING
public static final CurveSegmentType ARC_BY_CENTER
public static final CurveSegmentType ARC_STRING
public static CurveSegmentType[] values()
for (CurveSegmentType c : CurveSegmentType.values()) System.out.println(c);
public static CurveSegmentType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant
with the specified nameNullPointerException - if the argument is nullpublic abstract List<Coordinate> getCoordinateList(org.geotoolkit.gml.xml.AbstractCurveSegment segment, CoordinateReferenceSystem crs)
segment - A GML curve segment.crs - The coordinate reference system associated with the curve.Copyright © 2015 Open Geospatial Consortium. All rights reserved.