Candidate_v1.6.1
        Candidate_v1.7.0
        stable
      
      
        
          | 
            Last change
 on this file since c4cba2 was             5a8d61, checked in by Frederik Heber <heber@…>, 14 years ago           | 
        
        
          | 
             
Added new function to all Shape: getHomogeneousPointsInVolume(). 
 
- basically it is not implemented except for ShapeOps, yet.
 - there is an initial unit test Shape_HomogeneousPointsUnitTest.
  
           | 
        
        
          
            
              - 
Property                 mode
 set to                 
100644
               
             
           | 
        
        
          | 
            File size:
            660 bytes
           | 
        
      
      
| Line |   | 
|---|
| 1 | /*
 | 
|---|
| 2 |  * Shape_HomogeneousPointsUnitTest.hpp
 | 
|---|
| 3 |  *
 | 
|---|
| 4 |  *  Created on: Jun 19, 2010
 | 
|---|
| 5 |  *      Author: heber
 | 
|---|
| 6 |  */
 | 
|---|
| 7 | 
 | 
|---|
| 8 | #ifndef SHAPE_HOMOGENEOUSPOINTSUNITTEST_HPP_
 | 
|---|
| 9 | #define SHAPE_HOMOGENEOUSPOINTSUNITTEST_HPP_
 | 
|---|
| 10 | 
 | 
|---|
| 11 | // include config.h
 | 
|---|
| 12 | #ifdef HAVE_CONFIG_H
 | 
|---|
| 13 | #include <config.h>
 | 
|---|
| 14 | #endif
 | 
|---|
| 15 | 
 | 
|---|
| 16 | 
 | 
|---|
| 17 | #include <cppunit/extensions/HelperMacros.h>
 | 
|---|
| 18 | 
 | 
|---|
| 19 | class Shape_HomogeneousPointsTest : public CppUnit::TestFixture
 | 
|---|
| 20 | {
 | 
|---|
| 21 |   CPPUNIT_TEST_SUITE( Shape_HomogeneousPointsTest) ;
 | 
|---|
| 22 |   CPPUNIT_TEST ( surfaceTest );
 | 
|---|
| 23 |   CPPUNIT_TEST ( volumeTest );
 | 
|---|
| 24 |   CPPUNIT_TEST_SUITE_END();
 | 
|---|
| 25 | 
 | 
|---|
| 26 | public:
 | 
|---|
| 27 |   void setUp();
 | 
|---|
| 28 |   void tearDown();
 | 
|---|
| 29 | 
 | 
|---|
| 30 |   void surfaceTest();
 | 
|---|
| 31 |   void volumeTest();
 | 
|---|
| 32 | };
 | 
|---|
| 33 | 
 | 
|---|
| 34 | #endif /* SHAPE_HOMOGENEOUSPOINTSUNITTEST_HPP_ */
 | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.