Struct RingValidationResult
Result of validating one LinearRing2View.
struct RingValidationResult;
Ring edge index i denotes the implicit segment from vertex i to vertex (i + 1) % length.
size_t.max denotes an index that does not apply to the reported issue.
RingValidationResult.init represents a valid ring result with issue RingValidationIssue.none and both diagnostic indices set to size_t.max.
Fields
| Name | Type | Description |
|---|---|---|
issue
|
RingValidationIssue | Detected validation issue. |
primaryIndex
|
ulong | Primary involved vertex or edge index. |
secondaryIndex
|
ulong | Secondary involved edge index where applicable. |
Properties
| Name | Type | Description |
|---|---|---|
valid[get]
|
bool | True when no validation issue was detected. |