/[ff3d]/ff3d/geometry/Difference.hpp
ViewVC logotype

Diff of /ff3d/geometry/Difference.hpp

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

revision 1.1.1.1 by delpinux, Mon Feb 17 16:32:50 2003 UTC revision 1.2 by delpinux, Fri Feb 28 14:56:55 2003 UTC
# Line 45  private: Line 45  private:
45    //! Prints the Difference informations using the stream \a s.    //! Prints the Difference informations using the stream \a s.
46    std::ostream& put(std::ostream& s) const;    std::ostream& put(std::ostream& s) const;
47    
   /*!  
     Compute the distance to the face of the Difference.  
     \warning Not implemented.  
   */  
   inline const TinyVector<3> _distance(const Vertex& V) const  
   {  
     fferr(2) << '\n' << __FILE__ << ':' << __LINE__  
              << ':' << "Not implemented\n";  
     std::exit(1);  
     return V;  
   };  
   
48  public:  public:
49    
   /*!  
     Computes the vector \f$ \overrightarrow{WV} \f$ where \em W the closest  
     point of the surface of the Difference to a given \a \em V and which norm is  
     1. If W is not on an edge or a corner WV is the external normal to the  
     Difference.  
   */  
   inline const TinyVector<3> normal(const Vertex& V) const;  
   
50    //! Adds the shape \a O inside the Difference.    //! Adds the shape \a O inside the Difference.
51    inline void AddObject(const Object& O);    inline void AddObject(const Object& O);
52    
# Line 124  inline const bool Difference::inShape (c Line 104  inline const bool Difference::inShape (c
104    return inside;    return inside;
105  }  }
106    
 /*!  Computes the vector \f$ \overrightarrow{WV} \f$ where \em W the closest  
   point of the surface of the Difference to a given \a \em V and which norm is  
   1. If W is not on an edge or a corner WV is the external normal to the  
   Difference.  
   \warning not implemented.  
 */  
 inline const TinyVector<3> Difference::normal(const Vertex& V) const  
 {  
   fferr(2) << __FILE__ << ':' << __LINE__  
             << ':' << "Not implemented\n";  
   std::exit(1);  
   return V;  
 }  
   
   
107  #endif // DIFFERENCE_HPP  #endif // DIFFERENCE_HPP
108    

Legend:
Removed from v.1.1.1.1  
changed lines
  Added in v.1.2

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