Ignore:
Timestamp:
Aug 20, 2014, 1:06:16 PM (11 years ago)
Author:
Frederik Heber <heber@…>
Children:
ef3885
Parents:
1cde4e8
git-author:
Frederik Heber <heber@…> (07/09/14 22:08:37)
git-committer:
Frederik Heber <heber@…> (08/20/14 13:06:16)
Message:

Added calculation of center of minimum distance by bisection.

  • this will give us a unique a definite point independent of the (rotational) position of the point set on the unit sphere.
  • added unit test.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Fragmentation/Exporters/SphericalPointDistribution.hpp

    r1cde4e8 ra2f8a9  
    121121  };
    122122
     123  static Vector calculateCenterOfMinimumDistance(
     124      const SphericalPointDistribution::VectorArray_t &_positions,
     125      const SphericalPointDistribution::IndexList_t &_indices);
     126
    123127private:
    124128  //!> grant unit tests access to private parts
     
    170174      const PolygonWithIndices &remainingold,
    171175      const PolygonWithIndices &remainingnew);
    172 
    173176};
    174177
Note: See TracChangeset for help on using the changeset viewer.