Subject: CGAL users discussion list
List archive
- From: Yang Liu <>
- To:
- Subject: Re: [cgal-discuss] random points
- Date: Sun, 26 Sep 2010 08:29:39 +0800
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:in-reply-to:references:date:message-id :subject:from:to:content-type; b=mBVdZ+S60l0C9BTTCastae6Ot/7Ti0n9VMnro+WmFMsJP/EQI+8WC7zo6dzWOBJ4A/ Bc9a0bXYZ5UkOaku86Lj3CsZrBYqA+6Vj78v1BGBRjzYkpBmaaMne6gawbIt4VUA1dgb n84WTdH9yXKc1aa5uA3FSfG0SCbiTdfWkjwxA=
read this paper "Turk, Greg, Generating Random Points in Triangles,
Graphics Gems, p. 24-28"
or use Prof. Turk's code directly:
http://tog.acm.org/resources/GraphicsGems/gems/TriPoints.c
The input is a convex polygon.
>
> i have a simple polygon (cgal manual, page 4070) and i want to produce some
> random points in (interior) the polygon. how can i do that?
> --
- [cgal-discuss] random points, sara123, 09/26/2010
- Re: [cgal-discuss] random points, Laurent Rineau (GeometryFactory), 09/26/2010
- Re: [cgal-discuss] random points, Yang Liu, 09/26/2010
- Re: [cgal-discuss] random points, Bo Zhou, 09/26/2010
- [cgal-discuss] Re: random points, sara123, 09/27/2010
- Re: [cgal-discuss] Re: random points, Andreas Fabri, 09/27/2010
- [cgal-discuss] Re: random points, sara123, 09/29/2010
- Re: [cgal-discuss] Re: random points, Andreas Fabri, 09/27/2010
- [cgal-discuss] Re: random points, sara123, 09/27/2010
- Re: [cgal-discuss] random points, Bo Zhou, 09/26/2010
Archive powered by MHonArc 2.6.16.