Wednesday, March 07, 2007

Identify the Point Inside the Ellipse

Objective :
if we give any point, we have to identify that point is inside the ellipse ...

How can we achive this ?

We can achieve this in two way...

1. we have to implement the algorithms for finding the point is available in an ellipse

without implementing any algorithm...

2. we can create a region using CRgn class...

CRgn class have the CreateEllipticRgn() fn. So

CRgn class have the function PtInRegion() ... it will returns true if the point is

available in a specific region...

CRgn class have the function for RectangleRegion or Ellipse Region, Polygon region and so on...

Labels:

0 Comments:

Post a Comment

<< Home