Class TopologyLocation
A TopologyLocation is the labelling of a
GraphComponent's topological relationship to a single Geometry.
Inheritance
TopologyLocation
Assembly: NetTopologySuite.dll
Syntax
public class TopologyLocation
Constructors
|
Improve this Doc
View Source
TopologyLocation(Location)
Declaration
public TopologyLocation(Location on)
Parameters
|
Improve this Doc
View Source
TopologyLocation(Location, Location, Location)
Constructs a TopologyLocation specifying how points on, to the left of, and to the
right of some GraphComponent relate to some Geometry. Possible values for the
parameters are Location.Null, Location.Exterior, Location.Boundary,
and Location.Interior.
Declaration
public TopologyLocation(Location on, Location left, Location right)
Parameters
Type |
Name |
Description |
Location |
on |
Location for On position
|
Location |
left |
Location for Left position
|
Location |
right |
Location for Right position
|
|
Improve this Doc
View Source
TopologyLocation(Location[])
Declaration
public TopologyLocation(Location[] location)
Parameters
Type |
Name |
Description |
Location[] |
location |
|
|
Improve this Doc
View Source
TopologyLocation(TopologyLocation)
Declaration
public TopologyLocation(TopologyLocation gl)
Parameters
Properties
|
Improve this Doc
View Source
IsAnyNull
Declaration
public bool IsAnyNull { get; }
Property Value
Type |
Description |
Boolean |
true if any locations are Null.
|
|
Improve this Doc
View Source
IsArea
Declaration
public bool IsArea { get; }
Property Value
|
Improve this Doc
View Source
IsLine
Declaration
public bool IsLine { get; }
Property Value
|
Improve this Doc
View Source
IsNull
Declaration
public bool IsNull { get; }
Property Value
Type |
Description |
Boolean |
true if all locations are Null.
|
|
Improve this Doc
View Source
Item[Position]
Get calls Get(Positions posIndex),
Set calls SetLocation(Positions locIndex, Location locValue)
Declaration
public Location this[Position posIndex] { get; set; }
Parameters
Property Value
|
Improve this Doc
View Source
Item[Positions]
Get calls Get(Positions posIndex),
Set calls SetLocation(Positions locIndex, Location locValue)
Declaration
[Obsolete("Use the Geometries.Position indexer instead")]
public Location this[Positions posIndex] { get; set; }
Parameters
Property Value
Methods
|
Improve this Doc
View Source
AllPositionsEqual(Location)
Declaration
public bool AllPositionsEqual(Location loc)
Parameters
Returns
|
Improve this Doc
View Source
Flip()
Declaration
|
Improve this Doc
View Source
Get(Position)
Declaration
public Location Get(Position posIndex)
Parameters
Returns
|
Improve this Doc
View Source
Get(Positions)
Declaration
[Obsolete("Use Get(Geometries.Position)")]
public Location Get(Positions posIndex)
Parameters
Returns
|
Improve this Doc
View Source
GetLocations()
Declaration
public Location[] GetLocations()
Returns
|
Improve this Doc
View Source
IsEqualOnSide(TopologyLocation, Int32)
Declaration
public bool IsEqualOnSide(TopologyLocation le, int locIndex)
Parameters
Returns
|
Improve this Doc
View Source
Merge(TopologyLocation)
Merge updates only the Null attributes of this object
with the attributes of another.
Declaration
public void Merge(TopologyLocation gl)
Parameters
|
Improve this Doc
View Source
SetAllLocations(Location)
Declaration
public void SetAllLocations(Location locValue)
Parameters
|
Improve this Doc
View Source
SetAllLocationsIfNull(Location)
Declaration
public void SetAllLocationsIfNull(Location locValue)
Parameters
|
Improve this Doc
View Source
SetLocation(Location)
Declaration
public void SetLocation(Location locValue)
Parameters
|
Improve this Doc
View Source
SetLocation(Position, Location)
Declaration
public void SetLocation(Position locIndex, Location locValue)
Parameters
|
Improve this Doc
View Source
SetLocation(Positions, Location)
Declaration
[Obsolete("Use SetLocation(Geometries.Position, Location)")]
public void SetLocation(Positions locIndex, Location locValue)
Parameters
|
Improve this Doc
View Source
SetLocations(Location, Location, Location)
Declaration
public void SetLocations(Location on, Location left, Location right)
Parameters
|
Improve this Doc
View Source
SetLocations(TopologyLocation)
Declaration
public void SetLocations(TopologyLocation gl)
Parameters
|
Improve this Doc
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides