Surface
Represents a subset on the grid with cells of approximately the same elevation.
Declaration
public class SurfaceConstructors
public Surface(IEnumerable<GridNode> gridElements, int id)
Properties
| Name | Type | Summary |
|---|---|---|
| readonly Elements | IEnumerable<GridNode> | Grid nodes that make up this plane (readonly). |
| Elevation | float | Elevation of the grid. |
| readonly IsEmpty | bool | Whether this planes does not contain any valid elements on the grid. |
Methods
| Name | Type | Summary |
|---|---|---|
| CanMerge | bool | - |
| ContainsElement | bool | - |
| Except | void | - |
| GetClosestElement | GridNode | - |
| Intersect | void | - |
| Merge | void | Merges the other plane's grid elements to this plane. |
| Overlaps | bool | - |