<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>MPQC: sc::UnionShape Class Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.9 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="index.html"><span>Main Page</span></a></li> <li><a href="pages.html"><span>Related Pages</span></a></li> <li class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> <div class="navpath"><b>sc</b>::<a class="el" href="classsc_1_1UnionShape.html">UnionShape</a> </div> </div> <div class="contents"> <h1>sc::UnionShape Class Reference</h1><!-- doxytag: class="sc::UnionShape" --><!-- doxytag: inherits="sc::Shape" -->A <a class="el" href="classsc_1_1UnionShape.html" title="A UnionShape is volume enclosed by a set of Shape's.">UnionShape</a> is volume enclosed by a set of Shape's. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="shape_8h_source.html">shape.h</a>></code> <p> <div class="dynheader"> Inheritance diagram for sc::UnionShape:</div> <div class="dynsection"> <p><center><img src="classsc_1_1UnionShape.png" usemap="#sc::UnionShape_map" border="0" alt=""></center> <map name="sc::UnionShape_map"> <area href="classsc_1_1Shape.html" alt="sc::Shape" shape="rect" coords="87,336,251,360"> <area href="classsc_1_1Volume.html" alt="sc::Volume" shape="rect" coords="87,280,251,304"> <area href="classsc_1_1Function.html" alt="sc::Function" shape="rect" coords="87,224,251,248"> <area href="classsc_1_1SavableState.html" alt="sc::SavableState" shape="rect" coords="0,168,164,192"> <area href="classsc_1_1Compute.html" alt="sc::Compute" shape="rect" coords="174,168,338,192"> <area href="classsc_1_1DescribedClass.html" alt="sc::DescribedClass" shape="rect" coords="0,112,164,136"> <area href="classsc_1_1RefCount.html" alt="sc::RefCount" shape="rect" coords="0,56,164,80"> <area href="classsc_1_1Identity.html" alt="sc::Identity" shape="rect" coords="0,0,164,24"> <area href="classsc_1_1DiscreteConnollyShape.html" alt="sc::DiscreteConnollyShape" shape="rect" coords="0,448,164,472"> <area href="classsc_1_1VDWShape.html" alt="sc::VDWShape" shape="rect" coords="174,448,338,472"> </map> </div> <p> <a href="classsc_1_1UnionShape-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Member Functions</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="6217dc77f31a9d7d5e7183c70bd8b16e"></a><!-- doxytag: member="sc::UnionShape::add_shape" ref="6217dc77f31a9d7d5e7183c70bd8b16e" args="(Ref< Shape >)" --> void </td><td class="memItemRight" valign="bottom"><b>add_shape</b> (<a class="el" href="classsc_1_1Ref.html">Ref</a>< <a class="el" href="classsc_1_1Shape.html">Shape</a> >)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="35768bb51ca572353fbb153b359425dd"></a><!-- doxytag: member="sc::UnionShape::distance_to_surface" ref="35768bb51ca572353fbb153b359425dd" args="(const SCVector3 &r, SCVector3 *grad=0) const " --> double </td><td class="memItemRight" valign="bottom"><b>distance_to_surface</b> (const SCVector3 &r, SCVector3 *grad=0) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="154d7b5e9a55b0dd2e2521b0fcceca60"></a><!-- doxytag: member="sc::UnionShape::is_outside" ref="154d7b5e9a55b0dd2e2521b0fcceca60" args="(const SCVector3 &r) const " --> int </td><td class="memItemRight" valign="bottom"><b>is_outside</b> (const SCVector3 &r) const </td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="d249784f12bd988fc0869a7046029e39"></a><!-- doxytag: member="sc::UnionShape::boundingbox" ref="d249784f12bd988fc0869a7046029e39" args="(double valuemin, double valuemax, SCVector3 &p1, SCVector3 &p2)" --> void </td><td class="memItemRight" valign="bottom"><b>boundingbox</b> (double valuemin, double valuemax, SCVector3 &p1, SCVector3 &p2)</td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="b133695d57a4c8ad9ac1aca63e1e1756"></a><!-- doxytag: member="sc::UnionShape::gradient_implemented" ref="b133695d57a4c8ad9ac1aca63e1e1756" args="() const " --> int </td><td class="memItemRight" valign="bottom"><b>gradient_implemented</b> () const </td></tr> <tr><td colspan="2"><br><h2>Protected Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="anchor" name="8093810f89c450bdafab4e86815c234c"></a><!-- doxytag: member="sc::UnionShape::_shapes" ref="8093810f89c450bdafab4e86815c234c" args="" --> std::set< <a class="el" href="classsc_1_1Ref.html">Ref</a>< <a class="el" href="classsc_1_1Shape.html">Shape</a> > > </td><td class="memItemRight" valign="bottom"><b>_shapes</b></td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> A <a class="el" href="classsc_1_1UnionShape.html" title="A UnionShape is volume enclosed by a set of Shape's.">UnionShape</a> is volume enclosed by a set of Shape's. <p> <hr>The documentation for this class was generated from the following file:<ul> <li><a class="el" href="shape_8h_source.html">shape.h</a></ul> </div> <hr> <address> <small> Generated at Wed Oct 14 14:12:15 2009 for <a href="http://www.mpqc.org">MPQC</a> 2.3.1 using the documentation package <a href="http://www.doxygen.org">Doxygen</a> 1.5.9. </small> </address> </body> </html>