Geometry package: Difference between revisions

Jump to navigation Jump to search
Line 13: Line 13:
This tutorial requires that you install the package [http://octave.sourceforge.net/fpl/index.html fpl] and [http://octave.sourceforge.net/msh/index.html msh] (which requires [http://geuz.org/gmsh/ Gmsh] installed in your system). Alternatively, the core function <tt>delaunay</tt> could be used (the tutorial explains how) but the result aren't so pretty.
This tutorial requires that you install the package [http://octave.sourceforge.net/fpl/index.html fpl] and [http://octave.sourceforge.net/msh/index.html msh] (which requires [http://geuz.org/gmsh/ Gmsh] installed in your system). Alternatively, the core function <tt>delaunay</tt> could be used (the tutorial explains how) but the result aren't so pretty.


The first part of the tutorial requires an interesting shape. If you have Inkscape you can use the previous tutorial to load it into octave. Here I will be using [link-to-file this SVG].  
The first part of the tutorial requires an interesting shape. If you have Inkscape you can use the previous tutorial to load it into octave. Here I will be using [http://ubuntuone.com/2bWsEopdrqa2ybSlNJsrO this SVG].  
[[File:octave.png|thumb|200px|right]]
[[File:octave.png|200px|center]]


Lets load the file:
Lets load the file:
Line 41: Line 41:
</pre>
</pre>


[[File:octave_meshed.png|thumb|200px|left]]
[[File:octave_meshed.png|thumb|200px]]


=== From piece-wise polynomial shapes to polygons ===
=== From piece-wise polynomial shapes to polygons ===
657

edits

Navigation menu