-// Copyright (C) 2007-2022 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2024 CEA, EDF, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
GEOM::GEOM_Object_ptr thePoint,
GEOM::GEOM_Object_ptr theDirection);
+ // Methods to convert X,Y,Z coordinates of point to U,V parameters on surface and back
+ GEOM::ListOfDouble* XYZtoUV(GEOM::GEOM_Object_ptr theSurf,
+ const GEOM::ListOfDouble& theXYZlist,
+ CORBA::Boolean theIsNormalized);
+
+ GEOM::ListOfDouble* UVtoXYZ(GEOM::GEOM_Object_ptr theSurf,
+ const GEOM::ListOfDouble& theUVlist,
+ CORBA::Boolean theIsNormalized);
+
// Methods for class CheckConformity
GEOM::GEOM_IMeasureOperations::SequenceOfPairOfShape* SelfIntersected2D(
const GEOM::GEOM_IMeasureOperations::CheckResults& theResuts);
CORBA::Double UpdateTolerance(GEOM::GEOM_Object_ptr theShape);
+ // Methods to compute proximity between two shapes
+ GEOM::GEOM_Object_ptr ShapeProximityCalculator (GEOM::GEOM_Object_ptr theShape1,
+ GEOM::GEOM_Object_ptr theShape2);
+ void SetShapeSampling(GEOM::GEOM_Object_ptr theCalculator,
+ GEOM::GEOM_Object_ptr theShape,
+ CORBA::Long theNbSamples);
+ CORBA::Double GetCoarseProximity(GEOM::GEOM_Object_ptr theCalculator);
+ CORBA::Double GetPreciseProximity(GEOM::GEOM_Object_ptr theCalculator);
+
::GEOMImpl_IMeasureOperations* GetOperations()
{ return (::GEOMImpl_IMeasureOperations*)GetImpl(); }