The SEDRIS Data Representation Model
APPENDIX A - Classes
Edge Direction

Class Name: Edge Direction

Superclass - <SEDRIS Abstract Base>

Subclasses

This DRM class is concrete and has no subclasses.

Definition

An instance of this DRM class specifies, for the associated relationship, whether the target edge should be traversed forwards (from start node to end node) or backwards (in the opposite direction).

Primary Page in DRM Diagram:

Secondary Pages in DRM Diagram:

Example

  1. A <Linear Feature> instance representing a stream is associated with several <Feature Edge> instances that define the path of the stream. The <Edge Direction> link object associated with each <Feature Edge> instance has forwards = SE_TRUE if the <Feature Edge> instance is oriented so that the stream flows in the direction from its starting node to its ending node, and SE_FALSE if the stream flows in the opposite direction.

  2. Consider a <Linear Feature> instance representing a one-way street. Its path is defined by a <Feature Edge> instance, so that the <Edge Direction> link object between the <Linear Feature> instance and the <Feature Edge> instance indicates whether the orientation of the <Feature Edge> instance matches the permitted direction of travel along the one-way street.

  3. The external <Feature Face Ring> instance of a regular <Feature Face> instance consists of three <Feature Edge> instances. In traversing the ring, the first <Feature Edge> instance might be traversed from starting node to ending node, so that its <Edge Direction> link object has forwards = SE_TRUE If the next <Feature Edge> instance was traversed from its ending node (which in this example is the same <Feature Node> instance as the ending node of the previous <Feature Edge> instance) to its starting node, its <Edge Direction> link object has forwards = SE_FALSE (that is, backward).

FAQs

What if the object associated with the edge represents a spatially located entity, such such as a tree line, that has no well-defined orientation?

In such cases, the forwards field of the <Edge Direction> link object shall be set to SE_FALSE.

Isn't this information redundant, in the case of ring edges?

While this information can be derived by comparing the starting and ending nodes of consecutive edges within the face ring, it is provided as a convenience and as a validity check.

Constraints

Inherited Field Elements

This class has no inherited field elements.

Field Elements

SE_Boolean forwards; 1

Notes

Fields Notes

forwards

If the value of the forwards field is SE_TRUE, the edge is oriented in the same direction as the object with which it is associated, so that it should be traversed from its starting node to its ending node.

If the value of the forwards field is SE_FALSE, either the orientation of the edge is the opposite of that of the associated object, or the associated object has no clearly defined orientation. In this case, the edge should be traversed from ending node to starting node.


Prev: EDCS Use Summary Item. Next: EI 3D Location. Up:Index.

Last updated: July 26, 2006 Copyright © 2006 SEDRIS