pub enum ElementClass {
Point,
Polyline,
Region,
Collection,
}Expand description
The geometric and referential nature of an element kind (spec §4.1).
The class list is closed in this revision; extending it is an additive
spec change in this layer, never an engine decision. A subcatchment is
the proof case for ElementClass::Region: it is neither a node nor a
link, and a taxonomy offering only those two classes would have baked
one engine family’s shape into the foundation.
Variants§
Point
A located element: one coordinate. May anchor Polyline ends and
Region discharge references.
Polyline
A connecting element: references a from-point and a to-point, with optional intermediate vertices.
Region
An areal element: a polygon boundary, with an optional reference to
a Point element it discharges to.
Collection
A non-spatial named object (a curve, a pattern, a time series, a control). Enumerable and countable; presentation is application-defined and may be engine-specific.
Trait Implementations§
Source§impl Clone for ElementClass
impl Clone for ElementClass
Source§fn clone(&self) -> ElementClass
fn clone(&self) -> ElementClass
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more