#5249: implicit_plot3d functionality (isosurfaces, 3d contour plots, etc.)
-------------------------+--------------------------------------------------
 Reporter:  jason        |        Owner:  was       
     Type:  enhancement  |       Status:  new       
 Priority:  major        |    Milestone:  sage-3.4.1
Component:  graphics     |   Resolution:            
 Keywords:               |  
-------------------------+--------------------------------------------------
Comment (by jason):

 Also, here is another thing that could be changed/enhanced:

 > Carl Witty wrote:
 >> >>        hole - If hole is given, it must be a python callable.
 >> >>            Segments of the surface where hole(x,y,z) returns a
 number >0
 >> >>            will be omitted.  (Note that returning a Python boolean
 >> >>            is acceptable, since as a number, True == 1 and False ==
 0.)
 >> >>
 > >
 > > I'm curious why you chose to implement a "hole" parameter instead of
 MMA's
 > > (opposite) RegionFunction parameter (see the ContourPlot3D docs).

 1) I hadn't even looked at the ContourPlot3D docs until I was mostly
 done with the implementation.

 2) I was probably influenced by the JVXL-format mention of NaN's
 making holes in the surfaces; so I was thinking about how to replicate
 this effect, and punch holes.

 If whoever works on the code next wants to invert the "hole" into
 "regionfunction", that would be fine with me.

 Note the somewhat unusual specification of "hole", checking for >0
 instead of for True.  I did this to perhaps make it easier to use a
 fast_float function for the hole.  (I didn't do much thinking about
 it, though.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5249#comment:2>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" 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/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to