Class: FtcEventsClient::OgcGeometryType
- Inherits:
-
Object
- Object
- FtcEventsClient::OgcGeometryType
- Defined in:
- lib/ftc_events_client/models/ogc_geometry_type.rb
Constant Summary collapse
- POINT =
'Point'.freeze
- LINE_STRING =
'LineString'.freeze
- POLYGON =
'Polygon'.freeze
- MULTI_POINT =
'MultiPoint'.freeze
- MULTI_LINE_STRING =
'MultiLineString'.freeze
- MULTI_POLYGON =
'MultiPolygon'.freeze
- GEOMETRY_COLLECTION =
'GeometryCollection'.freeze
- CIRCULAR_STRING =
'CircularString'.freeze
- COMPOUND_CURVE =
'CompoundCurve'.freeze
- CURVE_POLYGON =
'CurvePolygon'.freeze
- MULTI_CURVE =
'MultiCurve'.freeze
- MULTI_SURFACE =
'MultiSurface'.freeze
- CURVE =
'Curve'.freeze
- SURFACE =
'Surface'.freeze
- POLYHEDRAL_SURFACE =
'PolyhedralSurface'.freeze
- TIN =
'TIN'.freeze
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
36 37 38 39 40 |
# File 'lib/ftc_events_client/models/ogc_geometry_type.rb', line 36 def build_from_hash(value) constantValues = OgcGeometryType.constants.select { |c| OgcGeometryType::const_get(c) == value } raise "Invalid ENUM value #{value} for class #OgcGeometryType" if constantValues.empty? value end |