Ignore:
Timestamp:
12/28/20 02:06:52 (2 months ago)
Author:
Maciej Komosinski
Message:

Cosmetic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/model/geometry/part_distance_estimator.h

    r1032 r1056  
    77
    88#include "frams/model/geometry/meshbuilder.h"
     9#include <cmath>
    910
    1011class PartDistanceEstimator
     
    5455        static double calculateDistance(Part tmpPart1, Part tmpPart2, double distanceTolerance, double relativeDensity)
    5556        {
    56                 /// tmpPart1 and tmpPart2 are copied for purpose and should not be passed as reference
    57                 /// This function can change some of the properties of those parts
     57                /// tmpPart1 and tmpPart2 are copied for purpose and should not be passed as reference.
     58                /// This function can change some of the properties of those parts.
    5859                /// tmpPart1 will be approximated by surface points.
    59                 /// The collision between the parts is detected when any of those points is inside tmpPart2
    60                 /// If tmpPart1 and tmpPart2 are swapped, the calculated distance may slightly differ
     60                /// The collision between the parts is detected when any of these points is inside tmpPart2.
     61                /// If tmpPart1 and tmpPart2 are swapped, the calculated distance may slightly differ.
    6162                Pt3D directionVersor = tmpPart1.p - tmpPart2.p;
    6263                directionVersor.normalize();
Note: See TracChangeset for help on using the changeset viewer.