EndpointJoinExcludingEndpoints
Namespace: Digi21.DigiNG.Entities.Relations
Assembly: Digi21.DigiNG
Indicates whether an endpoint of the first line joins the second line at a vertex that is not an endpoint of the second.

public static bool EndpointJoinExcludingEndpoints(ReadOnlyLine a, ReadOnlyLine b)
| Parameter | Description |
|---|---|
a |
Line whose endpoints are analyzed, of type ReadOnlyLine. |
b |
Line whose intermediate vertices are analyzed. |
Return value
true if the first or last vertex of a coincides with a vertex of b that is neither the first nor the last vertex of b. An endpoint of a lying on an edge of b without coinciding with a vertex does not count.
The method is asymmetric: to analyze the endpoints of b, call EndpointJoinExcludingEndpoints(b, a).
Exceptions
| Exception | When |
|---|---|
ArgumentNullException |
a or b is null. |
Example
See the LineLine example.