Class Depth
A Depth object records the topological depth of the sides
of an Edge for up to two Geometries.
Assembly: NetTopologySuite.dll
Syntax
Constructors
|
Improve this Doc
View Source
Depth()
Declaration
Properties
|
Improve this Doc
View Source
Item[Int32, Positions]
Calls GetDepth and SetDepth.
Declaration
[Obsolete("Use GetDepth, SetDepth")]
public int this[int geomIndex, Positions posIndex] { get; set; }
Parameters
Property Value
Methods
|
Improve this Doc
View Source
Add(Label)
Declaration
public void Add(Label lbl)
Parameters
Type |
Name |
Description |
Label |
lbl |
|
|
Improve this Doc
View Source
Add(Int32, Positions, Location)
Declaration
[Obsolete("This method is not used and will be removed in a later release.")]
public void Add(int geomIndex, Positions posIndex, Location _location)
Parameters
|
Improve this Doc
View Source
DepthAtLocation(Location)
Declaration
public static int DepthAtLocation(Location _location)
Parameters
Type |
Name |
Description |
Location |
_location |
|
Returns
|
Improve this Doc
View Source
GetDelta(Int32)
Declaration
public int GetDelta(int geomIndex)
Parameters
Type |
Name |
Description |
Int32 |
geomIndex |
|
Returns
|
Improve this Doc
View Source
GetDepth(Int32, Position)
Declaration
public int GetDepth(int geomIndex, Position posIndex)
Parameters
Returns
|
Improve this Doc
View Source
GetDepth(Int32, Positions)
Declaration
[Obsolete("Use GetDepth(int, Geometries.Position)")]
public int GetDepth(int geomIndex, Positions posIndex)
Parameters
Returns
|
Improve this Doc
View Source
GetLocation(Int32, Position)
Declaration
public Location GetLocation(int geomIndex, Position posIndex)
Parameters
Returns
|
Improve this Doc
View Source
GetLocation(Int32, Positions)
Declaration
[Obsolete("Use GetLocation(int, Geometries.Position)")]
public Location GetLocation(int geomIndex, Positions posIndex)
Parameters
Returns
|
Improve this Doc
View Source
IsNull()
A Depth object is null (has never been initialized) if all depths are null.
Declaration
Returns
Type |
Description |
Boolean |
true if depth is null (has never been initialized)
|
|
Improve this Doc
View Source
IsNull(Int32)
Declaration
public bool IsNull(int geomIndex)
Parameters
Type |
Name |
Description |
Int32 |
geomIndex |
|
Returns
|
Improve this Doc
View Source
IsNull(Int32, Position)
Declaration
public bool IsNull(int geomIndex, Position posIndex)
Parameters
Returns
|
Improve this Doc
View Source
IsNull(Int32, Positions)
Declaration
[Obsolete("Use IsNull(int, Geometries.Position)")]
public bool IsNull(int geomIndex, Positions posIndex)
Parameters
Returns
|
Improve this Doc
View Source
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.
Declaration
|
Improve this Doc
View Source
SetDepth(Int32, Position, Int32)
Declaration
public void SetDepth(int geomIndex, Position posIndex, int depthValue)
Parameters
|
Improve this Doc
View Source
SetDepth(Int32, Positions, Int32)
Declaration
[Obsolete("Use SetDepth(int, Geometries.Position, int)")]
public void SetDepth(int geomIndex, Positions posIndex, int depthValue)
Parameters
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides