Ignore:
Timestamp:
May 25, 2016, 7:13:59 AM (9 years ago)
Author:
Frederik Heber <heber@…>
Children:
4492f1
Parents:
4b96da
git-author:
Frederik Heber <heber@…> (07/09/14 22:08:37)
git-committer:
Frederik Heber <heber@…> (05/25/16 07:13:59)
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.
  • TESTFIX: Marked SphericalPointDistributionUnitTest as XFAIL.
File:
1 edited

Legend:

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

    r4b96da r66700f2  
    112112  };
    113113
     114  static Vector calculateCenterOfMinimumDistance(
     115      const SphericalPointDistribution::VectorArray_t &_positions,
     116      const SphericalPointDistribution::IndexList_t &_indices);
     117
    114118private:
    115119  //!> grant unit tests access to private parts
     
    161165      const PolygonWithIndices &remainingold,
    162166      const PolygonWithIndices &remainingnew);
    163 
    164167};
    165168
Note: See TracChangeset for help on using the changeset viewer.