-// Copyright (C) 2007-2015 CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-2022 CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
CORBA::Double& Xx, CORBA::Double& Xy, CORBA::Double& Xz);
void GetBasicProperties (GEOM::GEOM_Object_ptr theShape,
+ CORBA::Double theTolerance,
CORBA::Double& theLength,
CORBA::Double& theSurfArea,
CORBA::Double& theVolume);
GEOM::GEOM_Object_ptr theOptionalPoint);
GEOM::GEOM_Object_ptr GetVertexByIndex (GEOM::GEOM_Object_ptr theObject,
- CORBA::Long theIndex);
+ CORBA::Long theIndex,
+ CORBA::Boolean theUseOri);
void GetInertia (GEOM::GEOM_Object_ptr theShape,
CORBA::Double& I11, CORBA::Double& I12, CORBA::Double& I13,
CORBA::Long theCheckLevel,
GEOM::ListOfLong_out theIntersections);
+ CORBA::Boolean CheckSelfIntersectionsFast (GEOM::GEOM_Object_ptr theShape,
+ CORBA::Float theDeflection,
+ CORBA::Double theTolerance,
+ GEOM::ListOfLong_out theIntersections);
+
+ CORBA::Boolean CheckBOPArguments (GEOM::GEOM_Object_ptr theShape);
+
CORBA::Boolean FastIntersect (GEOM::GEOM_Object_ptr theShape1,
GEOM::GEOM_Object_ptr theShape2,
CORBA::Double theTolerance,
CORBA::Double GetAngleBtwVectors (GEOM::GEOM_Object_ptr theShape1,
GEOM::GEOM_Object_ptr theShape2);
- // Methods for recieving radiuses of curvature of curves and surfaces
+ GEOM::ListOfGO* PatchFace(GEOM::GEOM_Object_ptr theShape);
+
+ // Methods for receiving radiuses of curvature of curves and surfaces
// in the given point
CORBA::Double CurveCurvatureByParam (GEOM::GEOM_Object_ptr theCurve,
CORBA::Double theParam);
CORBA::Double MinSurfaceCurvatureByPoint (GEOM::GEOM_Object_ptr theSurf,
GEOM::GEOM_Object_ptr thePoint);
+ GEOM::GEOM_Object_ptr SurfaceCurvatureByPointAndDirection (GEOM::GEOM_Object_ptr theSurf,
+ GEOM::GEOM_Object_ptr thePoint,
+ GEOM::GEOM_Object_ptr theDirection);
+
+ // Methods for class CheckConformity
+ GEOM::GEOM_IMeasureOperations::SequenceOfPairOfShape* SelfIntersected2D(
+ const GEOM::GEOM_IMeasureOperations::CheckResults& theResuts);
+
+ GEOM::GEOM_IMeasureOperations::SequenceOfPairOfShape* InterferingSubshapes(
+ const GEOM::GEOM_IMeasureOperations::CheckResults& theResuts,
+ const CORBA::Long theShapeType1,
+ const CORBA::Long theShapeType2);
+
+ GEOM::ListOfGO* SmallEdges(const GEOM::GEOM_IMeasureOperations::CheckResults& theResuts);
+
+ GEOM::GEOM_IMeasureOperations::SequenceOfPairOfShape* DistantShapes(
+ const GEOM::GEOM_IMeasureOperations::CheckResults& theResuts,
+ const CORBA::Long theShapeType,
+ const CORBA::Long theSubShapeType,
+ const CORBA::Double theTolerance);
+
+ GEOM::GEOM_IMeasureOperations::CheckResults* CheckConformityShape(GEOM::GEOM_Object_ptr theShape);
+
+ 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(); }
+
+private:
+ void ConvertToList(const GEOM::GEOM_IMeasureOperations::CheckResults& theResuts,
+ std::list <GEOMImpl_IMeasureOperations::FailedChecks>& theListOfResults);
};
#endif