Tests of a CLOSED, NON-SELF-INTERSECTING polygon defined by a
XY-planar polyline contains another polyline. The z-coordinate is ignored.
Namespace:
ceometric.ComputationalGeometryAssembly: ceometric.ComputationalGeometry (in ceometric.ComputationalGeometry.dll) Version: 2.2.0.0 (2.2.0.0)
Syntax
| C# |
|---|
public bool Contains( Polyline polyline ) |
| Visual Basic (Declaration) |
|---|
Public Function Contains ( _ polyline As Polyline _ ) As Boolean |
| Visual C++ |
|---|
public: bool Contains( Polyline^ polyline ) |
Parameters
- polyline
- Type: ceometric.ComputationalGeometry..::.Polyline
A polyline.
Return Value
True if the polygon defined by the polyline contains another polyline, false otherwise.
Remarks
If the polygon is not closed or if it is self-intersecting,
the method may return incorrect results.