Hide menu
Loading...
Searching...
No Matches
cadex::Measurements::Distance Class Reference

Computes the distance between two shapes. More...

#include <cadex/Measurements/Distance.hxx>

Static Public Member Functions

static double Compute (const ModelData::Shape &theFirstShape, const ModelData::Shape &theSecondShape)
 Computes the distance between theFirstShape and theSecondShape.
 
static double Compute (const ModelData::Shape &theFirstShape, const ModelData::Shape &theSecondShape, Geom::Point &theFirstPoint, Geom::Point &theSecondPoint)
 Computes the distance between theFirstShape and theSecondShape.
 

Detailed Description

Computes the distance between two shapes.

Member Function Documentation

◆ Compute() [1/2]

double cadex::Measurements::Distance::Compute ( const ModelData::Shape & theFirstShape,
const ModelData::Shape & theSecondShape )
static

Computes the distance between theFirstShape and theSecondShape.

◆ Compute() [2/2]

double cadex::Measurements::Distance::Compute ( const ModelData::Shape & theFirstShape,
const ModelData::Shape & theSecondShape,
Geom::Point & theFirstPoint,
Geom::Point & theSecondPoint )
static

Computes the distance between theFirstShape and theSecondShape.