surfaceFeatureExtract: Refactored core line and edge functions corresponding classes

This commit is contained in:
Henry Weller
2018-04-10 21:52:44 +01:00
parent 21d5267b6f
commit a908847b9c
6 changed files with 58 additions and 60 deletions

View File

@ -43,10 +43,6 @@ namespace Foam
extern const scalar externalAngleTolerance;
extern const scalar externalToleranceCosAngle;
point randomPointInPlane(const plane& p);
bool edgesConnected(const edge& e1, const edge& e2);
scalar calcProximityOfFeaturePoints
(
const List<pointIndexHit>& hitList,
@ -64,13 +60,11 @@ namespace Foam
void deleteBox
(
const triSurface& surf,
const treeBoundBox& bb,
const boundBox& bb,
const bool removeInside,
List<surfaceFeatures::edgeStatus>& edgeStat
);
bool onLine(const point& p, const linePointRef& line);
//- Deletes all edges inside/outside bounding box from set.
void deleteEdges
(