I guess, you would probably want to create a simple curve fitting algo
for your case, as far as I can understand.

-Kumar Bibek
http://kbeanie.com

On Sep 28, 9:02 pm, Kostya Vasilyev <[email protected]> wrote:
>   Once you've specifically chosen to have a circle, as the OP did, it's
> completely defined by three points.
>
> You are right that the opposite is not true - given three points, you
> can draw shapes other than a circle - but I didn't say that one couldn't.
>
> BTW, a solution is described here (among other numerous places):
>
> http://local.wasp.uwa.edu.au/~pbourke/geometry/circlefrom3/
>
> -- Kostya
>
> 28.09.2010 19:45, Bret Foreman пишет:
>
>
>
> > Three points can define any conic section - parabola, ellipse, or
> > circle.
>
> > On Sep 28, 7:47 am, Kostya Vasilyev<[email protected]>  wrote:
> >>    Beziers are defined by four points, and OP has three.
>
> >> A circle, on the other hand, is completely defined by three points
> >> (except in degenerate cases: points on top of one another, or on a
> >> straight line).
>
> >> So if it's a circle segment (== arc) you want, derive its center and
> >> radius (and arc angles) from your points.
>
> >> -- Kostya
>
> >> 28.09.2010 15:23, David Erosa García пишет:
>
> >>> On Tue, Sep 28, 2010 at 12:53 PM, Navaneeth<[email protected]>    wrote:
> >>>> Hi folks,
> >>>> I would like to draw a curve(an arc) connecting three points in my
> >>>> screen
> >>>> PointA = (480,46) PointB = (160,137) PointC = (0,228)
> >>>> How to draw the curve using Android APIs ?
> >>>> Please Help..
> >>> You may want to check Path.cubicTo to generate a Bezier curve:
> >>>http://developer.android.com/reference/android/graphics/Path.html#cub...,
> >>> float, float, float, float, float)
> >>>> Thanks,
> >>>> Sen
> >>>> --
> >>>> You received this message because you are subscribed to the Google
> >>>> Groups "Android Developers" group.
> >>>> To post to this group, send email to [email protected]
> >>>> To unsubscribe from this group, send email to
> >>>> [email protected]
> >>>> For more options, visit this group at
> >>>>http://groups.google.com/group/android-developers?hl=en
> >> --
> >> Kostya Vasilyev -- WiFi Manager + pretty widget 
> >> --http://kmansoft.wordpress.com
>
> --
> Kostya Vasilyev -- WiFi Manager + pretty widget 
> --http://kmansoft.wordpress.com

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to