Rout.pm (PDL-2.081) | : | Rout.pm (PDL-2.082) | ||
---|---|---|---|---|
skipping to change at line 36 | skipping to change at line 36 | |||
=head1 DESCRIPTION | =head1 DESCRIPTION | |||
This module is for miscellaneous PP-defined utility routines for | This module is for miscellaneous PP-defined utility routines for | |||
the PDL::Graphics::TriD module. Currently, there are | the PDL::Graphics::TriD module. Currently, there are | |||
#line 38 "Rout.pm" | #line 38 "Rout.pm" | |||
=head1 FUNCTIONS | =head1 FUNCTIONS | |||
=cut | =cut | |||
#line 949 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | #line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
=head2 combcoords | =head2 combcoords | |||
=for sig | =for sig | |||
Signature: (x(); y(); z(); | Signature: (x(); y(); z(); | |||
float [o]coords(tri=3);) | float [o]coords(tri=3);) | |||
=for ref | =for ref | |||
skipping to change at line 60 | skipping to change at line 60 | |||
of which is 3. This routine does dataflow automatically. | of which is 3. This routine does dataflow automatically. | |||
=for bad | =for bad | |||
combcoords does not process bad values. | combcoords does not process bad values. | |||
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. | |||
=cut | =cut | |||
#line 78 "Rout.pm" | #line 78 "Rout.pm" | |||
#line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | #line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*combcoords = \&PDL::combcoords; | *combcoords = \&PDL::combcoords; | |||
#line 85 "Rout.pm" | #line 85 "Rout.pm" | |||
#line 949 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | #line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
=head2 repulse | =head2 repulse | |||
=for sig | =for sig | |||
Signature: (coords(nc,np); | Signature: (coords(nc,np); | |||
[o]vecs(nc,np); | [o]vecs(nc,np); | |||
int [t]links(np);; | int [t]links(np);; | |||
double boxsize; | double boxsize; | |||
int dmult; | int dmult; | |||
skipping to change at line 99 | skipping to change at line 99 | |||
For definition of the potential, see the actual function. | For definition of the potential, see the actual function. | |||
=for bad | =for bad | |||
repulse does not process bad values. | repulse does not process bad values. | |||
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. | |||
=cut | =cut | |||
#line 126 "Rout.pm" | #line 126 "Rout.pm" | |||
#line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | #line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*repulse = \&PDL::repulse; | *repulse = \&PDL::repulse; | |||
#line 133 "Rout.pm" | #line 133 "Rout.pm" | |||
#line 949 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | #line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
=head2 attract | =head2 attract | |||
=for sig | =for sig | |||
Signature: (coords(nc,np); | Signature: (coords(nc,np); | |||
int from(nl); | int from(nl); | |||
int to(nl); | int to(nl); | |||
strength(nl); | strength(nl); | |||
[o]vecs(nc,np);; | [o]vecs(nc,np);; | |||
skipping to change at line 138 | skipping to change at line 138 | |||
For definition of the potential, see the actual function. | For definition of the potential, see the actual function. | |||
=for bad | =for bad | |||
attract does not process bad values. | attract does not process bad values. | |||
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. | |||
=cut | =cut | |||
#line 174 "Rout.pm" | #line 174 "Rout.pm" | |||
#line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | #line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*attract = \&PDL::attract; | *attract = \&PDL::attract; | |||
#line 181 "Rout.pm" | #line 181 "Rout.pm" | |||
#line 949 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | #line 958 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
=head2 vrmlcoordsvert | =head2 vrmlcoordsvert | |||
=for sig | =for sig | |||
Signature: (vertices(n=3); char* space; PerlIO *fp) | Signature: (vertices(n=3); char* space; PerlIO *fp) | |||
=for ref | =for ref | |||
info not available | info not available | |||
=for bad | =for bad | |||
vrmlcoordsvert does not process bad values. | vrmlcoordsvert does not process bad values. | |||
It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. | It will set the bad-value flag of all output ndarrays if the flag is set for any of the input ndarrays. | |||
=cut | =cut | |||
#line 208 "Rout.pm" | #line 208 "Rout.pm" | |||
#line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | #line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*vrmlcoordsvert = \&PDL::vrmlcoordsvert; | *vrmlcoordsvert = \&PDL::vrmlcoordsvert; | |||
#line 215 "Rout.pm" | #line 215 "Rout.pm" | |||
#line 214 "rout.pd" | #line 214 "rout.pd" | |||
=head2 contour_segments | =head2 contour_segments | |||
=for ref | =for ref | |||
skipping to change at line 230 | skipping to change at line 230 | |||
$pcnt = $pcnt+$ncnt; | $pcnt = $pcnt+$ncnt; | |||
$this->{ContourSegCnt}[$i] = $pcnt; | $this->{ContourSegCnt}[$i] = $pcnt; | |||
$pcnt=$pcnt+1; | $pcnt=$pcnt+1; | |||
$this->{Points} = $this->{Points}->append($segs->slice(":,0:$ncnt ,($i)")->transpose); | $this->{Points} = $this->{Points}->append($segs->slice(":,0:$ncnt ,($i)")->transpose); | |||
} | } | |||
$this->{Points} = $this->{Points}->transpose; | $this->{Points} = $this->{Points}->transpose; | |||
} | } | |||
#line 280 "Rout.pm" | #line 280 "Rout.pm" | |||
#line 951 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | #line 960 "/home/osboxes/pdl-code/blib/lib/PDL/PP.pm" | |||
*contour_segments_internal = \&PDL::contour_segments_internal; | *contour_segments_internal = \&PDL::contour_segments_internal; | |||
#line 287 "Rout.pm" | #line 287 "Rout.pm" | |||
#line 436 "rout.pd" | #line 436 "rout.pd" | |||
=head1 AUTHOR | =head1 AUTHOR | |||
Copyright (C) 2000 James P. Edwards | Copyright (C) 2000 James P. Edwards | |||
Copyright (C) 1997 Tuomas J. Lukka. | Copyright (C) 1997 Tuomas J. Lukka. | |||
End of changes. 9 change blocks. | ||||
9 lines changed or deleted | 9 lines changed or added |