Class PickOrder
The pick report's order (S-98 15.1; S-164 FeatureInformation2): features with the highest drawing priority in the portrayal first, and at equal priority points, then curves, then surfaces. A feature with no drawing priority (not drawn at the current settings, or from a dataset with no portrayal) comes after every drawn one.
public static class PickOrder
- Inheritance
-
PickOrder
- Inherited Members
Methods
Compare(int?, S100GeometryType, int?, S100GeometryType)
Compares two features by drawing priority, then geometry.
public static int Compare(int? priorityA, S100GeometryType geometryA, int? priorityB, S100GeometryType geometryB)
Parameters
priorityAint?The first feature's drawing priority, or
null.geometryAS100GeometryTypeThe first feature's geometry.
priorityBint?The second feature's drawing priority, or
null.geometryBS100GeometryTypeThe second feature's geometry.
Returns
- int
Negative when the first comes first, positive when the second does, else 0.
ComparePriority(int?, int?)
Compares two drawing priorities: higher first, and a priority before none. Two features with no priority compare equal.
public static int ComparePriority(int? a, int? b)
Parameters
aint?The first feature's drawing priority, or
null.bint?The second feature's drawing priority, or
null.
Returns
- int
Negative when
acomes first, positive whenbdoes, else 0.
GeometryRank(S100GeometryType)
The rank of a geometry at equal drawing priority: points 0, curves 1, surfaces 2, no geometry 3.
public static int GeometryRank(S100GeometryType geometry)
Parameters
geometryS100GeometryTypeThe feature's geometry.
Returns
- int
The rank, lowest first.