Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

IndexedFaceSet to 3D lines in two lines of PDL

by etj (Deacon)
on Apr 17, 2022 at 21:12 UTC ( [id://11143037]=CUFP: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use PDL::Graphics::TriD;
    use PDL::Graphics::TriD::Logo;
    ...
    # 2: flatten indices, slice points with those, restore 4-tuples shape
    $tri = $p->slice(':',$i->clump(-1))->splitdim(1,$i->dim(0));
    line3d($tri); # visualise
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: CUFP [id://11143037]
Approved by kcott
Front-paged by Discipulus
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (3)
As of 2024-04-25 06:28 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found