Candidate_v1.7.0
        stable
      
      
        
          | Last change
 on this file since 91c409 was             7d146a, checked in by Frederik Heber <heber@…>, 10 years ago | 
        
          | 
Added TriangleMatcher to safely compare tesselation .dat files.
 is used in tests/regression Tesselations, tests/Tesselations, and has its own
regression test, too.
added trianglematcher to testsuite dependencies.
 | 
        
          | 
              
Property                 mode
 set to                 100644 | 
        
          | File size:
            547 bytes | 
      
      
| Line |  | 
|---|
| 1 | /* | 
|---|
| 2 | * types.hpp | 
|---|
| 3 | * | 
|---|
| 4 | *  Created on: Jun 15, 2015 | 
|---|
| 5 | *      Author: heber | 
|---|
| 6 | */ | 
|---|
| 7 |  | 
|---|
| 8 | #ifndef TRIANGLEMATCHER_TYPES_HPP_ | 
|---|
| 9 | #define TRIANGLEMATCHER_TYPES_HPP_ | 
|---|
| 10 |  | 
|---|
| 11 | // include config.h | 
|---|
| 12 | #ifdef HAVE_CONFIG_H | 
|---|
| 13 | #include <config.h> | 
|---|
| 14 | #endif | 
|---|
| 15 |  | 
|---|
| 16 | #include <set> | 
|---|
| 17 |  | 
|---|
| 18 | #include "Triangle.hpp" | 
|---|
| 19 |  | 
|---|
| 20 | //!> constant for number of indices in triangle | 
|---|
| 21 | #define NUMBERINDICESTRIANGLE 3 | 
|---|
| 22 |  | 
|---|
| 23 | namespace detail { | 
|---|
| 24 |  | 
|---|
| 25 | //!> typedef for a vector of triangles, i.e. contents of a a tesselation file | 
|---|
| 26 | typedef std::set<Triangle> tesselation_t; | 
|---|
| 27 |  | 
|---|
| 28 | }; /* namespace detail */ | 
|---|
| 29 |  | 
|---|
| 30 | #endif /* TRIANGLEMATCHER_TYPES_HPP_ */ | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.