Version: 9.16.0
GEOMImpl_IMeasureOperations Class Reference

#include <GEOMImpl_IMeasureOperations.hxx>

Inheritance diagram for GEOMImpl_IMeasureOperations:
Inheritance graph

Classes

struct  FailedChecks
 

Public Types

enum  ShapeKind {
  SK_NO_SHAPE , SK_COMPOUND , SK_COMPSOLID , SK_SHELL ,
  SK_WIRE , SK_SPHERE , SK_CYLINDER , SK_BOX ,
  SK_ROTATED_BOX , SK_TORUS , SK_CONE , SK_POLYHEDRON ,
  SK_SOLID , SK_SPHERE2D , SK_CYLINDER2D , SK_TORUS2D ,
  SK_CONE2D , SK_DISK_CIRCLE , SK_DISK_ELLIPSE , SK_POLYGON ,
  SK_PLANE , SK_PLANAR , SK_FACE , SK_CIRCLE ,
  SK_ARC_CIRCLE , SK_ELLIPSE , SK_ARC_ELLIPSE , SK_LINE ,
  SK_SEGMENT , SK_CRV_BSPLINE , SK_CRV_BEZIER , SK_HYPERBOLA ,
  SK_PARABOLA , SK_EDGE , SK_VERTEX , SK_LCS ,
  SK_ADVANCED
}
 
enum  SICheckLevel {
  SI_V_V = 0 , SI_V_E , SI_E_E , SI_V_F ,
  SI_E_F , SI_ALL
}
 This enumeration represents the level of checking shape on self-interference. More...
 
typedef std::pair< Handle(GEOM_Object), Handle(GEOM_Object)> CoupleOfObjects
 

Public Member Functions

Standard_EXPORT GEOMImpl_IMeasureOperations (GEOM_Engine *theEngine)
 
Standard_EXPORT ~GEOMImpl_IMeasureOperations ()
 
Standard_EXPORT ShapeKind KindOfShape (Handle(GEOM_Object) theShape, Handle(TColStd_HSequenceOfInteger)&theIntegers, Handle(TColStd_HSequenceOfReal)&theDoubles)
 
Standard_EXPORT void GetPosition (Handle(GEOM_Object) theShape, Standard_Real &Ox, Standard_Real &Oy, Standard_Real &Oz, Standard_Real &Zx, Standard_Real &Zy, Standard_Real &Zz, Standard_Real &Xx, Standard_Real &Xy, Standard_Real &Xz)
 
Standard_EXPORT Handle (GEOM_Object) GetCentreOfMass(Handle(GEOM_Object) theShape)
 
Standard_EXPORT Handle (GEOM_Object) GetVertexByIndex(Handle(GEOM_Object) theShape
 
Standard_EXPORT Handle (GEOM_Object) GetNormal(Handle(GEOM_Object) theFace
 
Standard_EXPORT Handle (GEOM_Object) theOptionalPoint)
 
Standard_EXPORT void GetBasicProperties (Handle(GEOM_Object) theShape, const Standard_Real theTolerance, Standard_Real &theLength, Standard_Real &theSurfArea, Standard_Real &theVolume)
 
Standard_EXPORT void GetInertia (Handle(GEOM_Object) theShape, Standard_Real &I11, Standard_Real &I12, Standard_Real &I13, Standard_Real &I21, Standard_Real &I22, Standard_Real &I23, Standard_Real &I31, Standard_Real &I32, Standard_Real &I33, Standard_Real &Ix, Standard_Real &Iy, Standard_Real &Iz)
 
Standard_EXPORT void GetBoundingBox (Handle(GEOM_Object) theShape, const Standard_Boolean precise, Standard_Real &Xmin, Standard_Real &Xmax, Standard_Real &Ymin, Standard_Real &Ymax, Standard_Real &Zmin, Standard_Real &Zmax)
 
Standard_EXPORT Handle (GEOM_Object) GetBoundingBox(Handle(GEOM_Object) theShape
 
Standard_EXPORT void GetTolerance (Handle(GEOM_Object) theShape, Standard_Real &FaceMin, Standard_Real &FaceMax, Standard_Real &EdgeMin, Standard_Real &EdgeMax, Standard_Real &VertMin, Standard_Real &VertMax)
 
Standard_EXPORT bool CheckShape (Handle(GEOM_Object) theShape, const Standard_Boolean theIsCheckGeom, const Standard_Boolean theIsExact, std::list< GeomAnaTool::ShapeError > &theErrors)
 
Standard_EXPORT TCollection_AsciiString PrintShapeErrors (Handle(GEOM_Object) theShape, const std::list< GeomAnaTool::ShapeError > &theErrors)
 
Standard_EXPORT bool ExtractBOPFailure (const Handle(TColStd_HSequenceOfTransient)&theShapes, const bool theUseTimer, const bool theTopoOnly, const bool theRunParallel, const bool theDoExact, Handle(GEOM_Object)&theResultShape, std::list< GeomAnaTool::ShapeError > &theErrors)
 
Standard_EXPORT bool CheckSelfIntersections (Handle(GEOM_Object) theShape, const SICheckLevel theCheckLevel, Handle(TColStd_HSequenceOfInteger)&theIntersections)
 
Standard_EXPORT bool CheckSelfIntersectionsFast (Handle(GEOM_Object) theShape, float deflection, double tolerance, Handle(TColStd_HSequenceOfInteger)&theIntersections)
 
Standard_EXPORT bool CheckBOPArguments (const Handle(GEOM_Object) &theShape)
 
Standard_EXPORT bool FastIntersect (Handle(GEOM_Object) theShape1, Handle(GEOM_Object) theShape2, double tolerance, float deflection, Handle(TColStd_HSequenceOfInteger)&theIntersections1, Handle(TColStd_HSequenceOfInteger)&theIntersections2)
 
Standard_EXPORT TCollection_AsciiString IsGoodForSolid (Handle(GEOM_Object) theShape)
 
Standard_EXPORT TCollection_AsciiString WhatIs (Handle(GEOM_Object) theShape)
 
Standard_EXPORT std::vector< bool > AreCoordsInside (Handle(GEOM_Object) theShape, const std::vector< double > &coords, double tolerance=Precision::Confusion())
 
Standard_EXPORT Standard_Real GetMinDistance (Handle(GEOM_Object) theShape1, Handle(GEOM_Object) theShape2, Standard_Real &X1, Standard_Real &Y1, Standard_Real &Z1, Standard_Real &X2, Standard_Real &Y2, Standard_Real &Z2)
 
Standard_EXPORT Standard_Integer ClosestPoints (Handle(GEOM_Object) theShape1, Handle(GEOM_Object) theShape2, Handle(TColStd_HSequenceOfReal)&theDoubles)
 
Standard_EXPORT void PointCoordinates (Handle(GEOM_Object) theShape, Standard_Real &theX, Standard_Real &theY, Standard_Real &theZ)
 
Standard_EXPORT Standard_Real GetAngle (Handle(GEOM_Object) theLine1, Handle(GEOM_Object) theLine2)
 
Standard_EXPORT Standard_Real GetAngleBtwVectors (Handle(GEOM_Object) theVec1, Handle(GEOM_Object) theVec2)
 
Standard_EXPORT Handle (TColStd_HSequenceOfTransient) PatchFace(Handle(GEOM_Object) theShape)
 
Standard_EXPORT Standard_Real CurveCurvatureByParam (Handle(GEOM_Object) theCurve, Standard_Real &theParam)
 
Standard_EXPORT Standard_Real CurveCurvatureByPoint (Handle(GEOM_Object) theCurve, Handle(GEOM_Object) thePoint)
 
Standard_EXPORT Standard_Real MaxSurfaceCurvatureByParam (Handle(GEOM_Object) theSurf, Standard_Real &theUParam, Standard_Real &theVParam)
 
Standard_EXPORT Standard_Real MaxSurfaceCurvatureByPoint (Handle(GEOM_Object) theSurf, Handle(GEOM_Object) thePoint)
 
Standard_EXPORT Standard_Real MinSurfaceCurvatureByParam (Handle(GEOM_Object) theSurf, Standard_Real &theUParam, Standard_Real &theVParam)
 
Standard_EXPORT Standard_Real MinSurfaceCurvatureByPoint (Handle(GEOM_Object) theSurf, Handle(GEOM_Object) thePoint)
 
Standard_EXPORT std::list< CoupleOfObjectsSelfIntersected2D (const std::list< FailedChecks > &theChecks)
 
Standard_EXPORT std::list< CoupleOfObjectsInterferingSubshapes (const std::list< FailedChecks > &theChecks, const int theShapeType1, const int theShapeType2)
 
Standard_EXPORT Handle(TColStd_HSequenceOfTransient) SmallEdges(const std Standard_EXPORT std::list< CoupleOfObjectsDistantShapes (const std::list< FailedChecks > &theChecks, const int theShapeType, const int theSubShapeType, double theTolerance)
 
Standard_EXPORT void CheckConformityShape (Handle(GEOM_Object) theShape, std::list< FailedChecks > &theChecks)
 
Standard_EXPORT double ComputeTolerance (Handle(GEOM_Object) theEdge, Handle(GEOM_Object) theFace)
 
Standard_EXPORT double UpdateTolerance (Handle(GEOM_Object) theShape)
 
Standard_EXPORT Handle (GEOM_Object) SurfaceCurvatureByPointAndDirection(Handle(GEOM_Object) theSurf
 
Standard_EXPORT Handle (GEOM_Object) thePoint
 
Standard_EXPORT Handle (GEOM_Object) theDirection)
 
Standard_EXPORT Handle (TColStd_HArray1OfReal) XYZtoUV(Handle(GEOM_Object) theSurf
 
Standard_EXPORT const Handle (TColStd_HArray1OfReal) &theXYZlist
 
Standard_EXPORT Handle (TColStd_HArray1OfReal) UVtoXYZ(Handle(GEOM_Object) theSurf
 
Standard_EXPORT const Handle (TColStd_HArray1OfReal) &theUVlist
 
Standard_EXPORT Handle (GEOM_Object) ShapeProximityCalculator(Handle(GEOM_Object) theShape1
 
Standard_EXPORT Handle (GEOM_Object) theShape2)
 
Standard_EXPORT Standard_Real GetCoarseProximity (Handle(GEOM_Object) theCalculator, bool doPythonDump=true)
 
Standard_EXPORT Standard_Real GetPreciseProximity (Handle(GEOM_Object) theCalculator)
 
Standard_EXPORT void SetShapeSampling (Handle(GEOM_Object) theCalculator, Handle(GEOM_Object) theShape, const Standard_Integer theNbSamples)
 
- Public Member Functions inherited from GEOM_IOperations
Standard_EXPORT GEOM_IOperations (GEOM_Engine *theEngine)
 
Standard_EXPORT ~GEOM_IOperations ()
 
Standard_EXPORT void StartOperation ()
 
Standard_EXPORT void FinishOperation ()
 
Standard_EXPORT void AbortOperation ()
 
Standard_EXPORT bool IsDone ()
 
Standard_EXPORT void SetNotDone ()
 
Standard_EXPORT void SetErrorCode (const TCollection_AsciiString &theErrorCode)
 
Standard_EXPORT char * GetErrorCode ()
 
Standard_EXPORT GEOM_EngineGetEngine ()
 
Standard_EXPORT GEOM_SolverGetSolver ()
 

Public Attributes

Standard_EXPORT Standard_Integer theIndex
 
Standard_EXPORT Standard_Integer Standard_Boolean theUseOri
 
Standard_EXPORT const Standard_Boolean precise
 
Standard_EXPORT const bool isNormalized
 

Private Member Functions

Standard_Real getSurfaceCurvatures (const Handle(Geom_Surface)&aSurf, Standard_Real theUParam, Standard_Real theVParam, Standard_Boolean theNeedMaxCurv)
 

Member Typedef Documentation

◆ CoupleOfObjects

typedef std::pair< Handle(GEOM_Object), Handle(GEOM_Object)> GEOMImpl_IMeasureOperations::CoupleOfObjects

Member Enumeration Documentation

◆ ShapeKind

Enumerator
SK_NO_SHAPE 
SK_COMPOUND 
SK_COMPSOLID 
SK_SHELL 
SK_WIRE 
SK_SPHERE 
SK_CYLINDER 
SK_BOX 
SK_ROTATED_BOX 
SK_TORUS 
SK_CONE 
SK_POLYHEDRON 
SK_SOLID 
SK_SPHERE2D 
SK_CYLINDER2D 
SK_TORUS2D 
SK_CONE2D 
SK_DISK_CIRCLE 
SK_DISK_ELLIPSE 
SK_POLYGON 
SK_PLANE 
SK_PLANAR 
SK_FACE 
SK_CIRCLE 
SK_ARC_CIRCLE 
SK_ELLIPSE 
SK_ARC_ELLIPSE 
SK_LINE 
SK_SEGMENT 
SK_CRV_BSPLINE 
SK_CRV_BEZIER 
SK_HYPERBOLA 
SK_PARABOLA 
SK_EDGE 
SK_VERTEX 
SK_LCS 
SK_ADVANCED 

◆ SICheckLevel

It defines which interferferences will be checked.

Enumerator
SI_V_V 
SI_V_E 
SI_E_E 
SI_V_F 
SI_E_F 
SI_ALL 

Constructor & Destructor Documentation

◆ GEOMImpl_IMeasureOperations()

GEOMImpl_IMeasureOperations::GEOMImpl_IMeasureOperations ( GEOM_Engine theEngine)

Constructor

◆ ~GEOMImpl_IMeasureOperations()

GEOMImpl_IMeasureOperations::~GEOMImpl_IMeasureOperations ( )

Destructor

Member Function Documentation

◆ AreCoordsInside()

std::vector< bool > GEOMImpl_IMeasureOperations::AreCoordsInside ( Handle(GEOM_Object)  theShape,
const std::vector< double > &  coords,
double  tolerance = Precision::Confusion() 
)

AreCoordsInside

References Handle().

◆ CheckBOPArguments()

bool GEOMImpl_IMeasureOperations::CheckBOPArguments ( const Handle(GEOM_Object) &  theShape)

◆ CheckConformityShape()

void GEOMImpl_IMeasureOperations::CheckConformityShape ( Handle(GEOM_Object)  theShape,
std::list< FailedChecks > &  theChecks 
)

CheckConformityShape Perform analyse of shape and find imperfections in the shape.

Parameters
theShapeShape for analyse.

References CHECKCONFORMITY_RET_TYPES_CHECKS, CONFORMITY_CHECK_SHAPE, GEOM_CHECKCONFORMITY, GEOM_IOperations::GetEngine(), GEOM_IOperations::GetSolver(), Handle(), KO, OK, GEOM_IOperations::SetErrorCode(), and GEOMImpl_IConformity::SetShape().

◆ CheckSelfIntersections()

bool GEOMImpl_IMeasureOperations::CheckSelfIntersections ( Handle(GEOM_Object)  theShape,
const SICheckLevel  theCheckLevel,
Handle(TColStd_HSequenceOfInteger)&  theIntersections 
)

CheckSelfIntersections

References Handle(), KO, OK, and GEOM_IOperations::SetErrorCode().

◆ CheckSelfIntersectionsFast()

bool GEOMImpl_IMeasureOperations::CheckSelfIntersectionsFast ( Handle(GEOM_Object)  theShape,
float  theDeflection,
double  theTolerance,
Handle(TColStd_HSequenceOfInteger)&  theIntersections 
)

CheckSelfIntersectionsFast

References Handle(), KO, GEOMUtils::MeshShape(), OK, and GEOM_IOperations::SetErrorCode().

◆ CheckShape()

bool GEOMImpl_IMeasureOperations::CheckShape ( Handle(GEOM_Object)  theShape,
const Standard_Boolean  theIsCheckGeom,
const Standard_Boolean  theIsExact,
std::list< GeomAnaTool::ShapeError > &  theErrors 
)

CheckShape

References Handle(), KO, OK, and GEOM_IOperations::SetErrorCode().

◆ ClosestPoints()

Standard_Integer GEOMImpl_IMeasureOperations::ClosestPoints ( Handle(GEOM_Object)  theShape1,
Handle(GEOM_Object)  theShape2,
Handle(TColStd_HSequenceOfReal)&  theDoubles 
)

Get coordinates of closest points of two shapes

References Handle(), KO, OK, and GEOM_IOperations::SetErrorCode().

◆ ComputeTolerance()

double GEOMImpl_IMeasureOperations::ComputeTolerance ( Handle(GEOM_Object)  theEdge,
Handle(GEOM_Object)  theFace 
)

ComputeTolerance Compute distance from the edge to the face.

References Handle().

◆ CurveCurvatureByParam()

Standard_Real GEOMImpl_IMeasureOperations::CurveCurvatureByParam ( Handle(GEOM_Object)  theCurve,
Standard_Real &  theParam 
)

CurveCurvatureByParam

References Handle(), KO, OK, and GEOM_IOperations::SetErrorCode().

◆ CurveCurvatureByPoint()

Standard_Real GEOMImpl_IMeasureOperations::CurveCurvatureByPoint ( Handle(GEOM_Object)  theCurve,
Handle(GEOM_Object)  thePoint 
)

CurveCurvatureByPoint

References Handle(), KO, OK, and GEOM_IOperations::SetErrorCode().

◆ DistantShapes()

std::list< GEOMImpl_IMeasureOperations::CoupleOfObjects > GEOMImpl_IMeasureOperations::DistantShapes ( const std::list< FailedChecks > &  theChecks,
const int  theShapeType,
const int  theSubShapeType,
double  theTolerance 
)

DistantShapes find remote objects (sub-shape on a shape).

Parameters
theShapeShape for check.
theShapeTypeType of shape.
theSubShapeTypeType of sub-shape.
theTolerancetolerance.

References ComputeTolerance(), Handle(), KO, OK, and GEOM_IOperations::SetErrorCode().

◆ ExtractBOPFailure()

bool GEOMImpl_IMeasureOperations::ExtractBOPFailure ( const Handle(TColStd_HSequenceOfTransient)&  theShapes,
const bool  theUseTimer,
const bool  theTopoOnly,
const bool  theRunParallel,
const bool  theDoExact,
Handle(GEOM_Object)&  theResultShape,
std::list< GeomAnaTool::ShapeError > &  theErrors 
)

◆ FastIntersect()

bool GEOMImpl_IMeasureOperations::FastIntersect ( Handle(GEOM_Object)  theShape1,
Handle(GEOM_Object)  theShape2,
double  theTolerance,
float  theDeflection,
Handle(TColStd_HSequenceOfInteger)&  theIntersections1,
Handle(TColStd_HSequenceOfInteger)&  theIntersections2 
)

◆ GetAngle()

Standard_Real GEOMImpl_IMeasureOperations::GetAngle ( Handle(GEOM_Object)  theLine1,
Handle(GEOM_Object)  theLine2 
)

Compute angle (in degrees) between two lines

References GEOM_VECTOR, GetAngleBtwVectors(), Handle(), KO, OK, and GEOM_IOperations::SetErrorCode().

◆ GetAngleBtwVectors()

Standard_Real GEOMImpl_IMeasureOperations::GetAngleBtwVectors ( Handle(GEOM_Object)  theVec1,
Handle(GEOM_Object)  theVec2 
)

Compute angle (in degrees) between two vectors

References GEOM_VECTOR, Handle(), KO, OK, GEOM_IOperations::SetErrorCode(), and GEOM::Vertices.

◆ GetBasicProperties()

void GEOMImpl_IMeasureOperations::GetBasicProperties ( Handle(GEOM_Object)  theShape,
const Standard_Real  theTolerance,
Standard_Real &  theLength,
Standard_Real &  theSurfArea,
Standard_Real &  theVolume 
)

GetBasicProperties

References Handle(), KO, OK, and GEOM_IOperations::SetErrorCode().

◆ GetBoundingBox()

void GEOMImpl_IMeasureOperations::GetBoundingBox ( Handle(GEOM_Object)  theShape,
const Standard_Boolean  precise,
Standard_Real &  Xmin,
Standard_Real &  Xmax,
Standard_Real &  Ymin,
Standard_Real &  Ymax,
Standard_Real &  Zmin,
Standard_Real &  Zmax 
)

◆ GetCoarseProximity()

Standard_Real GEOMImpl_IMeasureOperations::GetCoarseProximity ( Handle(GEOM_Object)  theCalculator,
bool  doPythonDump = true 
)

◆ GetInertia()

void GEOMImpl_IMeasureOperations::GetInertia ( Handle(GEOM_Object)  theShape,
Standard_Real &  I11,
Standard_Real &  I12,
Standard_Real &  I13,
Standard_Real &  I21,
Standard_Real &  I22,
Standard_Real &  I23,
Standard_Real &  I31,
Standard_Real &  I32,
Standard_Real &  I33,
Standard_Real &  Ix,
Standard_Real &  Iy,
Standard_Real &  Iz 
)

GetInertia

References Handle(), KO, OK, and GEOM_IOperations::SetErrorCode().

◆ GetMinDistance()

Standard_Real GEOMImpl_IMeasureOperations::GetMinDistance ( Handle(GEOM_Object)  theShape1,
Handle(GEOM_Object)  theShape2,
Standard_Real &  X1,
Standard_Real &  Y1,
Standard_Real &  Z1,
Standard_Real &  X2,
Standard_Real &  Y2,
Standard_Real &  Z2 
)

◆ GetPosition()

void GEOMImpl_IMeasureOperations::GetPosition ( Handle(GEOM_Object)  theShape,
Standard_Real &  Ox,
Standard_Real &  Oy,
Standard_Real &  Oz,
Standard_Real &  Zx,
Standard_Real &  Zy,
Standard_Real &  Zz,
Standard_Real &  Xx,
Standard_Real &  Xy,
Standard_Real &  Xz 
)

◆ GetPreciseProximity()

◆ getSurfaceCurvatures()

Standard_Real GEOMImpl_IMeasureOperations::getSurfaceCurvatures ( const Handle(Geom_Surface)&  aSurf,
Standard_Real  theUParam,
Standard_Real  theVParam,
Standard_Boolean  theNeedMaxCurv 
)
private

getSurfaceCurvatures

References KO, OK, and GEOM_IOperations::SetErrorCode().

◆ GetTolerance()

void GEOMImpl_IMeasureOperations::GetTolerance ( Handle(GEOM_Object)  theShape,
Standard_Real &  FaceMin,
Standard_Real &  FaceMax,
Standard_Real &  EdgeMin,
Standard_Real &  EdgeMax,
Standard_Real &  VertMin,
Standard_Real &  VertMax 
)

GetTolerance

References Handle(), KO, OK, and GEOM_IOperations::SetErrorCode().

◆ Handle() [1/15]

Standard_EXPORT GEOMImpl_IMeasureOperations::Handle ( GEOM_Object  )

◆ Handle() [2/15]

Standard_EXPORT GEOMImpl_IMeasureOperations::Handle ( GEOM_Object  )

◆ Handle() [3/15]

Standard_EXPORT GEOMImpl_IMeasureOperations::Handle ( GEOM_Object  )

◆ Handle() [4/15]

Standard_EXPORT GEOMImpl_IMeasureOperations::Handle ( GEOM_Object  )

◆ Handle() [5/15]

Standard_EXPORT GEOMImpl_IMeasureOperations::Handle ( GEOM_Object  )

◆ Handle() [6/15]

Standard_EXPORT GEOMImpl_IMeasureOperations::Handle ( GEOM_Object  )

◆ Handle() [7/15]

Standard_EXPORT GEOMImpl_IMeasureOperations::Handle ( GEOM_Object  )

◆ Handle() [8/15]

Standard_EXPORT GEOMImpl_IMeasureOperations::Handle ( GEOM_Object  )

◆ Handle() [9/15]

Standard_EXPORT GEOMImpl_IMeasureOperations::Handle ( GEOM_Object  )

◆ Handle() [10/15]

Standard_EXPORT GEOMImpl_IMeasureOperations::Handle ( GEOM_Object  )

◆ Handle() [11/15]

Standard_EXPORT const GEOMImpl_IMeasureOperations::Handle ( TColStd_HArray1OfReal  ) &

◆ Handle() [12/15]

Standard_EXPORT const GEOMImpl_IMeasureOperations::Handle ( TColStd_HArray1OfReal  ) &

◆ Handle() [13/15]

Standard_EXPORT GEOMImpl_IMeasureOperations::Handle ( TColStd_HArray1OfReal  )

◆ Handle() [14/15]

Standard_EXPORT GEOMImpl_IMeasureOperations::Handle ( TColStd_HArray1OfReal  )

◆ Handle() [15/15]

Standard_EXPORT GEOMImpl_IMeasureOperations::Handle ( TColStd_HSequenceOfTransient  )

◆ InterferingSubshapes()

std::list< GEOMImpl_IMeasureOperations::CoupleOfObjects > GEOMImpl_IMeasureOperations::InterferingSubshapes ( const std::list< FailedChecks > &  theChecks,
const int  theShapeType1,
const int  theShapeType2 
)

InterferingSubshapes Find pairs of interfering sub-shapes, by default all pairs of interfering shapes are returned.

Parameters
theCheckslist of failed checks, contains type of check and failed shapes
theShapeType1Type of shape.
theShapeType2Type of shape.

References KO, OK, and GEOM_IOperations::SetErrorCode().

◆ IsGoodForSolid()

TCollection_AsciiString GEOMImpl_IMeasureOperations::IsGoodForSolid ( Handle(GEOM_Object)  theShape)

IsGoodForSolid

References Handle(), KO, OK, and GEOM_IOperations::SetErrorCode().

◆ KindOfShape()

◆ MaxSurfaceCurvatureByParam()

Standard_Real GEOMImpl_IMeasureOperations::MaxSurfaceCurvatureByParam ( Handle(GEOM_Object)  theSurf,
Standard_Real &  theUParam,
Standard_Real &  theVParam 
)

MaxSurfaceCurvatureByParam

References getSurfaceCurvatures(), Handle(), KO, and GEOM_IOperations::SetErrorCode().

◆ MaxSurfaceCurvatureByPoint()

Standard_Real GEOMImpl_IMeasureOperations::MaxSurfaceCurvatureByPoint ( Handle(GEOM_Object)  theSurf,
Handle(GEOM_Object)  thePoint 
)

MaxSurfaceCurvatureByPoint

References getSurfaceCurvatures(), Handle(), KO, and GEOM_IOperations::SetErrorCode().

◆ MinSurfaceCurvatureByParam()

Standard_Real GEOMImpl_IMeasureOperations::MinSurfaceCurvatureByParam ( Handle(GEOM_Object)  theSurf,
Standard_Real &  theUParam,
Standard_Real &  theVParam 
)

MinSurfaceCurvatureByParam

References getSurfaceCurvatures(), Handle(), KO, and GEOM_IOperations::SetErrorCode().

◆ MinSurfaceCurvatureByPoint()

Standard_Real GEOMImpl_IMeasureOperations::MinSurfaceCurvatureByPoint ( Handle(GEOM_Object)  theSurf,
Handle(GEOM_Object)  thePoint 
)

MinSurfaceCurvatureByPoint

References getSurfaceCurvatures(), Handle(), KO, and GEOM_IOperations::SetErrorCode().

◆ PointCoordinates()

void GEOMImpl_IMeasureOperations::PointCoordinates ( Handle(GEOM_Object)  theShape,
Standard_Real &  theX,
Standard_Real &  theY,
Standard_Real &  theZ 
)

Get coordinates of point

References Handle(), KO, OK, and GEOM_IOperations::SetErrorCode().

◆ PrintShapeErrors()

TCollection_AsciiString GEOMImpl_IMeasureOperations::PrintShapeErrors ( Handle(GEOM_Object)  theShape,
const std::list< GeomAnaTool::ShapeError > &  theErrors 
)

PrintShapeErrors

References Handle(), and GEOM_IOperations::SetErrorCode().

◆ SelfIntersected2D()

std::list< GEOMImpl_IMeasureOperations::CoupleOfObjects > GEOMImpl_IMeasureOperations::SelfIntersected2D ( const std::list< FailedChecks > &  theChecks)

SelfIntersected2D Find all self-intersected 2D curves.

Parameters
theCheckslist of failed checks, contains type of check and failed shapes

References KO, OK, and GEOM_IOperations::SetErrorCode().

◆ SetShapeSampling()

void GEOMImpl_IMeasureOperations::SetShapeSampling ( Handle(GEOM_Object)  theCalculator,
Handle(GEOM_Object)  theShape,
const Standard_Integer  theNbSamples 
)

◆ UpdateTolerance()

double GEOMImpl_IMeasureOperations::UpdateTolerance ( Handle(GEOM_Object)  theShape)

UpdateTolerance Compute possible tolerance for the shape, minimize tolerance of shape as well as tolerance of sub-shapes as much as possible

Parameters
theShapeShape for compute tolerance.

References CHECKCONFORMITY_RET_TOLERANCE, CONFORMITY_UPDATE_TOL, GEOM_CHECKCONFORMITY, GEOM_IOperations::GetEngine(), GEOM_IOperations::GetSolver(), Handle(), KO, OK, GEOM_IOperations::SetErrorCode(), and GEOMImpl_IConformity::SetShape().

◆ WhatIs()

TCollection_AsciiString GEOMImpl_IMeasureOperations::WhatIs ( Handle(GEOM_Object)  theShape)

WhatIs

References Handle(), KO, OK, and GEOM_IOperations::SetErrorCode().

Member Data Documentation

◆ isNormalized

Standard_EXPORT const bool GEOMImpl_IMeasureOperations::isNormalized

◆ precise

Standard_EXPORT const Standard_Boolean GEOMImpl_IMeasureOperations::precise

◆ theIndex

Standard_EXPORT Standard_Integer GEOMImpl_IMeasureOperations::theIndex

◆ theUseOri

Standard_EXPORT Standard_Integer Standard_Boolean GEOMImpl_IMeasureOperations::theUseOri

The documentation for this class was generated from the following files: