A Depth object records the topological depth of the sides of an Edge for up to two Geometries.
More...
|
| | Depth () |
| |
| int | GetDepth (int geomIndex, Positions posIndex) |
| |
| void | SetDepth (int geomIndex, Positions posIndex, int depthValue) |
| |
| Location | GetLocation (int geomIndex, Positions posIndex) |
| |
| void | Add (int geomIndex, Positions posIndex, Location _location) |
| |
| bool | IsNull () |
| | A Depth object is null (has never been initialized) if all depths are null. More...
|
| |
| bool | IsNull (int geomIndex) |
| |
| bool | IsNull (int geomIndex, Positions posIndex) |
| |
| void | Add (Label lbl) |
| |
| int | GetDelta (int geomIndex) |
| |
| void | Normalize () |
| | Normalize the depths for each point, if they are non-null. A normalized depth has depth values in the set { 0, 1 }. Normalizing the depths involves reducing the depths by the same amount so that at least one of them is 0. If the remaining value is > 0, it is set to 1. More...
|
| |
| override string | ToString () |
| |
A Depth object records the topological depth of the sides of an Edge for up to two Geometries.
| NetTopologySuite.GeometriesGraph.Depth.Depth |
( |
| ) |
|
| void NetTopologySuite.GeometriesGraph.Depth.Add |
( |
int |
geomIndex, |
|
|
Positions |
posIndex, |
|
|
Location |
_location |
|
) |
| |
- Parameters
-
| geomIndex | |
| posIndex | |
| _location | |
| void NetTopologySuite.GeometriesGraph.Depth.Add |
( |
Label |
lbl | ) |
|
| static int NetTopologySuite.GeometriesGraph.Depth.DepthAtLocation |
( |
Location |
_location | ) |
|
|
static |
| int NetTopologySuite.GeometriesGraph.Depth.GetDelta |
( |
int |
geomIndex | ) |
|
| int NetTopologySuite.GeometriesGraph.Depth.GetDepth |
( |
int |
geomIndex, |
|
|
Positions |
posIndex |
|
) |
| |
| Location NetTopologySuite.GeometriesGraph.Depth.GetLocation |
( |
int |
geomIndex, |
|
|
Positions |
posIndex |
|
) |
| |
| bool NetTopologySuite.GeometriesGraph.Depth.IsNull |
( |
| ) |
|
A Depth object is null (has never been initialized) if all depths are null.
| bool NetTopologySuite.GeometriesGraph.Depth.IsNull |
( |
int |
geomIndex | ) |
|
| bool NetTopologySuite.GeometriesGraph.Depth.IsNull |
( |
int |
geomIndex, |
|
|
Positions |
posIndex |
|
) |
| |
| void NetTopologySuite.GeometriesGraph.Depth.Normalize |
( |
| ) |
|
Normalize the depths for each point, if they are non-null. A normalized depth has depth values in the set { 0, 1 }. Normalizing the depths involves reducing the depths by the same amount so that at least one of them is 0. If the remaining value is > 0, it is set to 1.
| void NetTopologySuite.GeometriesGraph.Depth.SetDepth |
( |
int |
geomIndex, |
|
|
Positions |
posIndex, |
|
|
int |
depthValue |
|
) |
| |
- Parameters
-
| geomIndex | |
| posIndex | |
| depthValue | |
| override string NetTopologySuite.GeometriesGraph.Depth.ToString |
( |
| ) |
|
| int NetTopologySuite.GeometriesGraph.Depth.this[int geomIndex, Positions posIndex] |
|
getset |
Calls GetDepth and SetDepth.
- Parameters
-
- Returns
The documentation for this class was generated from the following file:
- NetTopologySuite/NetTopologySuite/GeometriesGraph/Depth.cs