Enum EdgeFlags
Bit set of flags storing information about edge. Each flag is set to it's own number - power of 2, so they can be safely combined. Use | or |= to combine flags: flag = Hint2D | HasVerticalChange = 1 + 4 = 001 + 100 = 101 = 5. Use & or &= to check of one or more flags: flags & Hint3D == 101 & 010 == 0 == None, but flags & Hint2D == 101 & 001 == 001 == Hint2D.
Namespace: Elements.Spatial.AdaptiveGrid
Assembly: Hypar.Elements.dll
Syntax
[Flags]
public enum EdgeFlags
Fields
Name | Description |
---|---|
HasVerticalChange | Are edge end points on different elevations. |
HiddenHint | Is edge affected by hidden hint line. |
HiddenHint2D | Is edge affected by hidden 2D hint line. |
HiddenHint3D | Is edge affected by hidden 2D hint line. |
None | No flags set. |
UserDefinedHint | Is edge affected by hidden hint line. |
UserDefinedHint2D | Is edge affected by user defined 2D hint line. |
UserDefinedHint3D | Is edge affected by user defined 3D hint line. |