Models a constraint segment in a triangulation. A constraint segment is an oriented straight line segment between a start point and an end point.
More...
|
| Segment (double x1, double y1, double z1, double x2, double y2, double z2) |
| Creates a new instance for the given ordinates. More...
|
|
| Segment (double x1, double y1, double z1, double x2, double y2, double z2, Object data) |
| Creates a new instance for the given ordinates, with associated external data. More...
|
|
| Segment (Coordinate p0, Coordinate p1, Object data) |
| Creates a new instance for the given points, with associated external data. More...
|
|
| Segment (Coordinate p0, Coordinate p1) |
| Creates a new instance for the given points. More...
|
|
bool | EqualsTopologically (Segment s) |
| Determines whether two segments are topologically equal. I.e. equal up to orientation. More...
|
|
Coordinate | Intersection (Segment s) |
| Computes the intersection point between this segment and another one. More...
|
|
override String | ToString () |
| Computes a string representation of this segment. More...
|
|
|
Coordinate | Start [get] |
| Gets the start coordinate of the segment More...
|
|
Coordinate | End [get] |
| Gets the end coordinate of the segment More...
|
|
double | StartX [get] |
| Gets the start X ordinate of the segment More...
|
|
double | StartY [get] |
| Gets the start Y ordinate of the segment More...
|
|
double | StartZ [get] |
| Gets the start Z ordinate of the segment More...
|
|
double | EndX [get] |
| Gets the end X ordinate of the segment More...
|
|
double | EndY [get] |
| Gets the end Y ordinate of the segment More...
|
|
double | EndZ [get] |
| Gets the end Z ordinate of the segment More...
|
|
LineSegment | LineSegment [get] |
| Gets a LineSegment modelling this segment. More...
|
|
Object | Data [get, set] |
| Gets or sets the external data associated with this segment More...
|
|
Models a constraint segment in a triangulation. A constraint segment is an oriented straight line segment between a start point and an end point.
- Author
- David Skea
-
Martin Davis
NetTopologySuite.Triangulate.Segment.Segment |
( |
double |
x1, |
|
|
double |
y1, |
|
|
double |
z1, |
|
|
double |
x2, |
|
|
double |
y2, |
|
|
double |
z2 |
|
) |
| |
Creates a new instance for the given ordinates.
NetTopologySuite.Triangulate.Segment.Segment |
( |
double |
x1, |
|
|
double |
y1, |
|
|
double |
z1, |
|
|
double |
x2, |
|
|
double |
y2, |
|
|
double |
z2, |
|
|
Object |
data |
|
) |
| |
Creates a new instance for the given ordinates, with associated external data.
NetTopologySuite.Triangulate.Segment.Segment |
( |
Coordinate |
p0, |
|
|
Coordinate |
p1, |
|
|
Object |
data |
|
) |
| |
Creates a new instance for the given points, with associated external data.
- Parameters
-
p0 | the start point |
p1 | the end point |
data | an external data object |
NetTopologySuite.Triangulate.Segment.Segment |
( |
Coordinate |
p0, |
|
|
Coordinate |
p1 |
|
) |
| |
Creates a new instance for the given points.
- Parameters
-
p0 | the start point |
p1 | the end point |
bool NetTopologySuite.Triangulate.Segment.EqualsTopologically |
( |
Segment |
s | ) |
|
Determines whether two segments are topologically equal. I.e. equal up to orientation.
- Parameters
-
- Returns
- true if the segments are topologically equal
Coordinate NetTopologySuite.Triangulate.Segment.Intersection |
( |
Segment |
s | ) |
|
Computes the intersection point between this segment and another one.
- Parameters
-
- Returns
- the intersection point, or
null
if there is none
override String NetTopologySuite.Triangulate.Segment.ToString |
( |
| ) |
|
Computes a string representation of this segment.
- Returns
- a string
Object NetTopologySuite.Triangulate.Segment.Data |
|
getset |
Gets or sets the external data associated with this segment
a data object
Coordinate NetTopologySuite.Triangulate.Segment.End |
|
get |
Gets the end coordinate of the segment
a Coordinate
double NetTopologySuite.Triangulate.Segment.EndX |
|
get |
Gets the end X ordinate of the segment
the X ordinate value
double NetTopologySuite.Triangulate.Segment.EndY |
|
get |
Gets the end Y ordinate of the segment
he Y ordinate value
double NetTopologySuite.Triangulate.Segment.EndZ |
|
get |
Gets the end Z ordinate of the segment
the Z ordinate value
LineSegment NetTopologySuite.Triangulate.Segment.LineSegment |
|
get |
Gets a LineSegment
modelling this segment.
a LineSegment
Coordinate NetTopologySuite.Triangulate.Segment.Start |
|
get |
Gets the start coordinate of the segment
a Coordinate
double NetTopologySuite.Triangulate.Segment.StartX |
|
get |
Gets the start X ordinate of the segment
the X ordinate value
double NetTopologySuite.Triangulate.Segment.StartY |
|
get |
Gets the start Y ordinate of the segment
the Y ordinate value
double NetTopologySuite.Triangulate.Segment.StartZ |
|
get |
Gets the start Z ordinate of the segment
the Z ordinate value
The documentation for this class was generated from the following file:
- NetTopologySuite/NetTopologySuite/Triangulate/Segment.cs