Copyright (C) 2000-2012 |
Manpages RoutSection: User Contributed Perl Documentation (3)Updated: 2002-04-08 Index Return to Main Contents NAMEPDL::Graphics::TriD::Rout - Helper routines for Three-dimensional graphics DESCRIPTIONThis module is for miscellaneous PP-defined utility routines for the PDL::Graphics::TriD module. Currently, there areFUNCTIONScombcoordsSignature: (x(); y(); z(); float [o]coords(tri=3);)Combine three coordinates into a single piddle. Combine x, y and z to a single piddle the first dimension of which is 3. This routine does dataflow automatically. repulseSignature: (coords(nc,np); [o]vecs(nc,np); int [t]links(np);; double boxsize; int dmult; double a; double b; double c; double d; )Repulsive potential for molecule-like constructs. "repulse" uses a hash table of cubes to quickly calculate a repulsive force that vanishes at infinity for many objects. For use by the module PDL::Graphics::TriD::MathGraph. For definition of the potential, see the actual function. attractSignature: (coords(nc,np); int from(nl); int to(nl); strength(nl); [o]vecs(nc,np);; double m; double ms; )Attractive potential for molecule-like constructs. "attract" is used to calculate an attractive force for many objects, of which some attract each other (in a way like molecular bonds). For use by the module PDL::Graphics::TriD::MathGraph. For definition of the potential, see the actual function. vrmlcoordsvertSignature: (vertices(n=3); char* space; char* fd)info not available contour_segmentsThis is the interface for the pp routine contour_segments_internal - it takes 3 piddles as input$c is a contour value (or a list of contour values) $data is an [m,n] array of values at each point $points is a list of [3,m,n] points, it should be a grid monotonically increasing with m and n. contour_segments returns a reference to a Perl array of line segments associated with each value of $c. It does not (yet) handle missing data values.
AUTHORCopyright (C) 2000 James P. Edwards Copyright (C) 1997 Tuomas J. Lukka. All rights reserved. There is no warranty. You are allowed to redistribute this software / documentation under certain conditions. For details, see the file COPYING in the PDL distribution. If this file is separated from the PDL distribution, the copyright notice should be included in the file.
IndexThis document was created by man2html, using the manual pages. Time: 17:08:31 GMT, March 28, 2024 |