How to know that a point is inside an object or not?
C#
3
Posts
2
Posters
1
Views
1
Watching
-
As far as I know, only Rectange(F) class has "Contains" method to indicate that a point is inside it or not. Now I want to find the point inside an ellipse and other shape, is C# support it or we have to implement some argorithym to find out. Thanks for your help.
-
As far as I know, only Rectange(F) class has "Contains" method to indicate that a point is inside it or not. Now I want to find the point inside an ellipse and other shape, is C# support it or we have to implement some argorithym to find out. Thanks for your help.
-
hi you can create a Region that describes your ellipse. the Region - object has a Contains (or something similar) function. greets m@u
Yes, I have checked it, the method is "IsVisible". Thx a lot.