Skip to Content.
Sympa Menu

cgal-discuss - Re: [cgal-discuss] Creating a random sample

Subject: CGAL users discussion list

List archive

Re: [cgal-discuss] Creating a random sample


Chronological Thread 
  • From: Bo Zhou <>
  • To:
  • Subject: Re: [cgal-discuss] Creating a random sample
  • Date: Tue, 16 Jun 2009 17:35:15 +0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=jd8wdVKpfUu14dVtaDlVhOuxrqAEJ4yWgIQ5e5DwU7XpTGjbX/+FB0d81h8zLCmvBp Rtv3hDEbvTRjEbCvvtkjiKSoZgaHinvBVa/JwDj88JIi7lUahciyVgSHOv6bZLnQBS0r vLisyZxxoZjjPTbuYQetQ5cEadkfn2HhQOCdM=

Amir Vaxman wrote:

Hello,


How do I create a random set of N points inside a given polygon_2?


Amir.

Take a look at the Chapter "Stratified Sampling of 2-Manifolds" in Siggraph 2001 Course 29 "State of the Art in Monte Carlo Ray Tracing for Realistic Image Synthesis", it represented how to sample on the polygon.

--
/**
* Bo Zhou
* Blog : http://jedimaster.cnblogs.com
* Mobile : +86 13451813691
*/




Archive powered by MHonArc 2.6.16.

Top of Page