CgmRectangle.Contains
Contents
[
Hide
]Contains(CgmPoint)
Determines if the specified point is contained within this rectangle.
public bool Contains(CgmPoint point)
Parameter | Type | Description |
---|---|---|
point | CgmPoint | The point to test. |
Return Value
This method returns true if the point defined by x and y is contained within this rectangle; otherwise false.
See Also
- class CgmPoint
- struct CgmRectangle
- namespace Aspose.CAD.FileFormats.Cgm.Classes
- assembly Aspose.CAD
Contains(double, double)
Determines if the specified point is contained within this rectangle.
public bool Contains(double x, double y)
Parameter | Type | Description |
---|---|---|
x | Double | The x-coordinate of the point to test. |
y | Double | The y-coordinate of the point to test. |
Return Value
This method returns true if the point defined by x and y is contained within this rectangle; otherwise false.
See Also
- struct CgmRectangle
- namespace Aspose.CAD.FileFormats.Cgm.Classes
- assembly Aspose.CAD
Contains(CgmPoint, double)
Determines if the specified point is contained within this rectangle.
public bool Contains(CgmPoint point, double maxDistance)
Parameter | Type | Description |
---|---|---|
point | CgmPoint | The point to test. |
maxDistance | Double | The maximum distance to the rectangle border. |
Return Value
This method returns true if the point defined by x and y is contained within this rectangle; otherwise false.
See Also
- class CgmPoint
- struct CgmRectangle
- namespace Aspose.CAD.FileFormats.Cgm.Classes
- assembly Aspose.CAD
Contains(double, double, double)
Determines if the specified point is contained within this rectangle.
public bool Contains(double x, double y, double maxDinstance)
Parameter | Type | Description |
---|---|---|
x | Double | The x-coordinate of the point to test. |
y | Double | The y-coordinate of the point to test. |
maxDistance | Double | The maximum distance to the rectangle border. |
Return Value
This method returns true if the point defined by x and y is contained within this rectangle; otherwise false.
See Also
- struct CgmRectangle
- namespace Aspose.CAD.FileFormats.Cgm.Classes
- assembly Aspose.CAD