CAD-Mesh3D

 view release on metacpan or  search on metacpan

lib/CAD/Mesh3D.pm  view on Meta::CPAN


 my $v = createVertex(1,2,3);
 my $x = getx($v); # 1
 my $y = gety($v); # 2
 my $z = getz($v); # 3

Grabs the individual x, y, or z coordinate from a vertex

=cut

sub getx($) { shift()->[XCOORD] }
sub gety($) { shift()->[YCOORD] }
sub getz($) { shift()->[ZCOORD] }

=head3 createMesh

 my $m = createMesh();          # empty
 my $s = createMesh($f, ...);   # pre-populated

Creates a B<Mesh>, optionally pre-populating the Mesh with the supplied B<Facets>.

=cut



( run in 0.552 second using v1.01-cache-2.11-cpan-65fba6d93b7 )