CADability dotNET
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Tests whether the provided point is contained in this simple shape.
Namespace: CADability.ShapesAssembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)
Syntax
C# |
---|
public bool Contains( GeoPoint2D p, bool acceptOnCurve ) |
Visual Basic |
---|
Public Function Contains ( _ p As GeoPoint2D, _ acceptOnCurve As Boolean _ ) As Boolean |
Visual C++ |
---|
public: bool Contains( GeoPoint2D p, bool acceptOnCurve ) |
Parameters
- p
- Type: CADability..::..GeoPoint2D
The point to be examined
- acceptOnCurve
- Type: System..::..Boolean
true: accept points on the border as inside points, false: return true only for points totally inside this shape