: Public <<datatype>> Class
Created: |
10-04-2008 12:16:12 |
Modified: |
01-07-2008 13:48:11 |
|
Project: |
|
Author: |
|
Version: |
|
Phase: |
|
Status: |
Proposed |
Complexity: |
Easy |
Difficulty: |
|
Priority: |
|
Multiplicity: |
|
Advanced: |
|
UUID: |
{FD768889-3B08-4a28-9123-14CE8EFF3244} |
Appears In: |
Fig 09: GM_Point, Context Diagram: Bearing |
Bearing is a data type used to represent direction in the coordinate reference system. In a 2D coordinate reference system, this can be accomplished using a "angle measured from true north" or a 2D vector point in that direction. In a 3D coordinate reference system, two angles or any 3D vector is possible. If both a set of angles and a vector are given, then they shall be consistent with one another.
- Attributes
- Tagged Values
- Constraints
Attribute |
Public Angle angle
|
Details:
Alias: |
|
Initial: |
|
Stereotype: |
|
Ordered: |
|
Range: |
Range:0 to 2 |
|
Public Vector direction
|
Details:
Alias: |
|
Initial: |
|
Stereotype: |
|
Ordered: |
|
Range: |
Range:0 to 1 |
|
Tag |
Value |
persistence |
persistent |
 Details:
|
Constraint |
Type |
Status |
-- at least one value is not NULL |
Invariant |
Approved |
 Details:
<br /></p><p>{angle.isEmpty{} implies Not direction.isEmpty()}<br /></p><p>{direction.isEmpty{} implies Not angle.isEmpty()}<br /></p>
|