/[libvob]/libvob/include/vob/geom/Fillets2.hxx
ViewVC logotype

Diff of /libvob/include/vob/geom/Fillets2.hxx

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18 by jvk, Tue Jun 24 11:44:02 2003 UTC revision 1.19 by jvk, Tue Jun 24 11:51:10 2003 UTC
# Line 607  namespace Geom { Line 607  namespace Geom {
607    
608      };      };
609    
610        /** A span of the circular node shape with a segment removed.
611         */
612        struct CircularSliceSpan {
613            const CircularNode &node;
614            float astart;
615            float aend;
616            CircularSliceSpan(const CircularNode &node,
617                            float astart, float aend)  :
618                    node(node), astart(astart), aend(aend) {
619            }
620    
621            ZVec point(float fract, ZVec *intern = 0) const {
622                if(intern) *intern = node.ctr - ZVec(0,0,20);
623                return node.ctr + node.r * lerp(dirVec(astart), dirVec(aend), fract);
624            }
625    
626        };
627    
628  }  }
629  }  }

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26