"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "Graphics/TriD/TriD.pm" between
PDL-2.079.tar.gz and PDL-2.080.tar.gz

About: PDL (Perl Data Language) aims to turn perl into an efficient numerical language for scientific computing (similar to IDL and MatLab).

TriD.pm  (PDL-2.079):TriD.pm  (PDL-2.080)
skipping to change at line 358 skipping to change at line 358
See module documentation for more information on See module documentation for more information on
contexts and options contexts and options
=head2 lattice3d =head2 lattice3d
=for ref =for ref
alias for mesh3d alias for mesh3d
=item trigrid3d =head2 trigrid3d
Show a triangular mesh, giving C<$vertices> and C<$faceidx> which is Show a triangular mesh, giving C<$vertices> and C<$faceidx> which is
a series of triplets of indices into the vertices, each describing a series of triplets of indices into the vertices, each describing
one triangle. The order of points matters for the shading - the normal one triangle. The order of points matters for the shading - the normal
vector points towards the clockface if the points go clockwise. vector points towards the clockface if the points go clockwise.
Options: C<Smooth> (on by default), C<Lines> (off by default), Options: C<Smooth> (on by default), C<Lines> (off by default),
C<ShowNormals> (off by default, useful for debugging). C<ShowNormals> (off by default, useful for debugging).
Implemented by C<PDL::Graphics::TriD::STrigrid_S>. Implemented by C<PDL::Graphics::TriD::STrigrid_S>.
=item trigrid3d_ns =head2 trigrid3d_ns
Like L</trigrid3d>, but without shading or normals. Like L</trigrid3d>, but without shading or normals.
Implemented by C<PDL::Graphics::TriD::STrigrid>. Implemented by C<PDL::Graphics::TriD::STrigrid>.
=head2 points3d =head2 points3d
=for ref =for ref
3D points plot, defined by a variety of contexts 3D points plot, defined by a variety of contexts
skipping to change at line 668 skipping to change at line 668
$new_vp = $old_vp->new_viewport($x0,$y0,$x1,$y1); $new_vp = $old_vp->new_viewport($x0,$y0,$x1,$y1);
where $x0 etc are the coordinates of the upper left and lower right where $x0 etc are the coordinates of the upper left and lower right
corners of the new viewport inside the previous (relative corners of the new viewport inside the previous (relative
to the previous viewport in the (0,1) range. to the previous viewport in the (0,1) range.
Every implementation-level window object should implement the new_viewport Every implementation-level window object should implement the new_viewport
method. method.
=head1 EXAMPLE SCRIPT FOR VARIOUS
=cut =cut
#KGB: NEEDS DOCS ON COMMON OPTIONS!!!!! #KGB: NEEDS DOCS ON COMMON OPTIONS!!!!!
# List of global variables # List of global variables
# #
# $PDL::Graphics::TriD::offline # $PDL::Graphics::TriD::offline
# $PDL::Graphics::TriD::Settings # $PDL::Graphics::TriD::Settings
$PDL::Graphics::TriD::verbose //= 0; $PDL::Graphics::TriD::verbose //= 0;
# $PDL::Graphics::TriD::keeptwiddling # $PDL::Graphics::TriD::keeptwiddling
 End of changes. 3 change blocks. 
4 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)