Re: [Tutor] is there any Python code for spatial tessellation?

2005-10-10 Thread Danny Yoo


On Sun, 9 Oct 2005, Shi Mu wrote:

> There are four points with coordinates:
> 2,3;4,9;1,6;3,10.
> How to use Python to draw one perpendicular bisector between (2,3) and (4,9);
> the other perpendicular bisector between (1,6)$BOB(B(3,10);
> then, makes the output like:
> l1 a b c
> l2 a b c
> (Note: l indicates the perpendicular bisector with equation ax + by = c.)
> Plus the intersection coordinates of the two perpendicular bisectors:
> x,y


Hi Shi Mu,

I am having a hard time understanding the relationship between your first
slightly scary question --- spatial tesselation --- with the second, much
more basic question --- perpendicular bisectors.

I'm not getting any good sense of what you know.  And the core of your
question has nothing to do with Python: it's more an elementary
algebra/geometry homework assignment.  Frankly speaking, for the kind of
geometry questions you've asked so far, I believe you should already know
how do that.

You haven't said anything about what you've tried, or what difficulties
you're running into.  As far as I can tell, you haven't put in any effort
into anything except for repeating a problem statement.

See:

http://www.catb.org/~esr/faqs/smart-questions.html#homework

We're not going to do your homework.  Show us what you're really having
trouble with, and if it's programming related, we will try to help point
things out.  But other than that, you really have to do your own work.

___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] is there any Python code for spatial tessellation?

2005-10-10 Thread Duncan Gibson
This is off-topic for Python: I've seen this on the FLTK mailing list,
but you might find some of the links under this page useful:

http://myweb.tiscali.co.uk/oaktree/nshea/tesselsphere/tesselsphere_index.html

  "OpenGL spherical subdivision utility. Currently employs particle
   and geodesic modules. GUI morphers can split Delaunay and Voronoi
   hulls to create new cells in the lattice. Additionally, morphers
   can target individual cells to split or stellate. Can be used to
   generate vertices for geodesic spheres, pollen, radiolaria, viruses
   and other polyhedra. Saves VRML 1.0 and POV-Ray inc file."

Disclaimer:
   This isn't my field of expertise.
   I haven't used this software.
   Don't ask me any questions about it.

___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] is there any Python code for spatial tessellation?

2005-10-10 Thread János Juhász


Dear Danny,

take a look to http://public.kitware.com/VTK/
I have seen visualization for voronoi and delaunay in that package.

I have seen also good programming samples mainly in C for calculating
perpedincular and so on at:

 http://www.graphicsgems.org/   


I know it is about 10 years old, but very usable for this topic.

VTK was very good and easy, ( when I downloaded the correct binaries :) )


Yours sincerely,
__
János Juhász


> Message: 7
> Date: Sun, 9 Oct 2005 22:22:29 -0700
> From: Shi Mu <[EMAIL PROTECTED]>
> Subject: Re: [Tutor] is there any Python code for spatial
> tessellation?
> To: Danny Yoo <[EMAIL PROTECTED]>
> Cc: Tutor 
> Message-ID:
> <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset=ISO-2022-JP

> There are four points with coordinates:
> 2,3;4,9;1,6;3,10.
> How to use Python to draw one perpendicular bisector between (2,3) and
(4,9);
> the other perpendicular bisector between (1,6)?(3,10);
> then, makes the output like:
> l1 a b c
> l2 a b c
> (Note: l indicates the perpendicular bisector with equation ax + by = c.)
> Plus the intersection coordinates of the two perpendicular bisectors:
> x,y

>
> On 10/8/05, Danny Yoo <[EMAIL PROTECTED]> wrote:
> >
> >
> > On Sat, 8 Oct 2005, Shi Mu wrote:
> >
> > > is there any Python code for spatial tessellation?
> >
> > Are you looking for code to generate voronoi diagrams?
> >
> >http://en.wikipedia.org/wiki/Voronoi_diagram
> >
> > From initial Google searches, it appears that there is a package called
> > Qhull that pepole use to do Voronoi tesselations.
> >
> >http://www.qhull.org/
> >
> > and Chris Myers has written a module around Qhull:
> >
> >http://www.tc.cornell.edu/~myers/PyXL/
> >
> >
> > Otherwise, I don't think we at Tutor can help you that much; you may
want
> > to ask on a more math-oriented forum.  Good luck to you!
> >
> >
> >

___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] is there any Python code for spatial tessellation?

2005-10-09 Thread Shi Mu
There are four points with coordinates:
2,3;4,9;1,6;3,10.
How to use Python to draw one perpendicular bisector between (2,3) and (4,9);
the other perpendicular bisector between (1,6)和(3,10);
then, makes the output like:
l1 a b c
l2 a b c
(Note: l indicates the perpendicular bisector with equation ax + by = c.)
Plus the intersection coordinates of the two perpendicular bisectors:
x,y


On 10/8/05, Danny Yoo <[EMAIL PROTECTED]> wrote:
>
>
> On Sat, 8 Oct 2005, Shi Mu wrote:
>
> > is there any Python code for spatial tessellation?
>
> Are you looking for code to generate voronoi diagrams?
>
>http://en.wikipedia.org/wiki/Voronoi_diagram
>
> From initial Google searches, it appears that there is a package called
> Qhull that pepole use to do Voronoi tesselations.
>
>http://www.qhull.org/
>
> and Chris Myers has written a module around Qhull:
>
>http://www.tc.cornell.edu/~myers/PyXL/
>
>
> Otherwise, I don't think we at Tutor can help you that much; you may want
> to ask on a more math-oriented forum.  Good luck to you!
>
>
>
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


Re: [Tutor] is there any Python code for spatial tessellation?

2005-10-08 Thread Danny Yoo


On Sat, 8 Oct 2005, Shi Mu wrote:

> is there any Python code for spatial tessellation?

Are you looking for code to generate voronoi diagrams?

http://en.wikipedia.org/wiki/Voronoi_diagram

>From initial Google searches, it appears that there is a package called
Qhull that pepole use to do Voronoi tesselations.

http://www.qhull.org/

and Chris Myers has written a module around Qhull:

http://www.tc.cornell.edu/~myers/PyXL/


Otherwise, I don't think we at Tutor can help you that much; you may want
to ask on a more math-oriented forum.  Good luck to you!


___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor


[Tutor] is there any Python code for spatial tessellation?

2005-10-08 Thread Shi Mu
is there any Python code for spatial tessellation?
thanks a lot!
 
___
Tutor maillist  -  Tutor@python.org
http://mail.python.org/mailman/listinfo/tutor