Version: 9.12.0
GEOM_IMeasureOperations_i Class Reference

#include <GEOM_IMeasureOperations_i.hh>

Inheritance diagram for GEOM_IMeasureOperations_i:
Inheritance graph

Public Member Functions

 GEOM_IMeasureOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, ::GEOMImpl_IMeasureOperations *theImpl)
 
 ~GEOM_IMeasureOperations_i ()
 
GEOM::GEOM_IKindOfShape::shape_kind KindOfShape (GEOM::GEOM_Object_ptr theShape, GEOM::ListOfLong_out theIntegers, GEOM::ListOfDouble_out theDoubles)
 
void GetPosition (GEOM::GEOM_Object_ptr theShape, CORBA::Double &Ox, CORBA::Double &Oy, CORBA::Double &Oz, CORBA::Double &Zx, CORBA::Double &Zy, CORBA::Double &Zz, 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 GetCentreOfMass (GEOM::GEOM_Object_ptr theShape)
 
GEOM::GEOM_Object_ptr GetNormal (GEOM::GEOM_Object_ptr theFace, GEOM::GEOM_Object_ptr theOptionalPoint)
 
GEOM::GEOM_Object_ptr GetVertexByIndex (GEOM::GEOM_Object_ptr theObject, CORBA::Long theIndex, CORBA::Boolean theUseOri)
 
void GetInertia (GEOM::GEOM_Object_ptr theShape, CORBA::Double &I11, CORBA::Double &I12, CORBA::Double &I13, CORBA::Double &I21, CORBA::Double &I22, CORBA::Double &I23, CORBA::Double &I31, CORBA::Double &I32, CORBA::Double &I33, CORBA::Double &Ix, CORBA::Double &Iy, CORBA::Double &Iz)
 
void GetBoundingBox (GEOM::GEOM_Object_ptr theShape, CORBA::Boolean precise, CORBA::Double &Xmin, CORBA::Double &Xmax, CORBA::Double &Ymin, CORBA::Double &Ymax, CORBA::Double &Zmin, CORBA::Double &Zmax)
 
GEOM::GEOM_Object_ptr MakeBoundingBox (GEOM::GEOM_Object_ptr theShape, CORBA::Boolean precise)
 
void GetTolerance (GEOM::GEOM_Object_ptr theShape, CORBA::Double &FaceMin, CORBA::Double &FaceMax, CORBA::Double &EdgeMin, CORBA::Double &EdgeMax, CORBA::Double &VertMin, CORBA::Double &VertMax)
 
CORBA::Boolean CheckShape (GEOM::GEOM_Object_ptr theShape, GEOM::GEOM_IMeasureOperations::ShapeErrors_out theErrors)
 
CORBA::Boolean CheckShapeWithGeometry (GEOM::GEOM_Object_ptr theShape, GEOM::GEOM_IMeasureOperations::ShapeErrors_out theErrors)
 
char * PrintShapeErrors (GEOM::GEOM_Object_ptr theShape, const GEOM::GEOM_IMeasureOperations::ShapeErrors &theErrors)
 
CORBA::Boolean CheckSelfIntersections (GEOM::GEOM_Object_ptr theShape, 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::Float theDeflection, GEOM::ListOfLong_out theIntersections1, GEOM::ListOfLong_out theIntersections2)
 
char * IsGoodForSolid (GEOM::GEOM_Object_ptr theShape)
 
char * WhatIs (GEOM::GEOM_Object_ptr theShape)
 
GEOM::ListOfBoolAreCoordsInside (GEOM::GEOM_Object_ptr theShape, const GEOM::ListOfDouble &theCoords, CORBA::Double theTolerance)
 
CORBA::Double GetMinDistance (GEOM::GEOM_Object_ptr theShape1, GEOM::GEOM_Object_ptr theShape2, CORBA::Double &X1, CORBA::Double &Y1, CORBA::Double &Z1, CORBA::Double &X2, CORBA::Double &Y2, CORBA::Double &Z2)
 
CORBA::Long ClosestPoints (GEOM::GEOM_Object_ptr theShape1, GEOM::GEOM_Object_ptr theShape2, GEOM::ListOfDouble_out theCoords)
 
void PointCoordinates (GEOM::GEOM_Object_ptr theShape, CORBA::Double &X, CORBA::Double &Y, CORBA::Double &Z)
 
CORBA::Double GetAngle (GEOM::GEOM_Object_ptr theShape1, GEOM::GEOM_Object_ptr theShape2)
 
CORBA::Double GetAngleBtwVectors (GEOM::GEOM_Object_ptr theShape1, GEOM::GEOM_Object_ptr theShape2)
 
GEOM::ListOfGOPatchFace (GEOM::GEOM_Object_ptr theShape)
 
CORBA::Double CurveCurvatureByParam (GEOM::GEOM_Object_ptr theCurve, CORBA::Double theParam)
 
CORBA::Double CurveCurvatureByPoint (GEOM::GEOM_Object_ptr theCurve, GEOM::GEOM_Object_ptr thePoint)
 
CORBA::Double MaxSurfaceCurvatureByParam (GEOM::GEOM_Object_ptr theSurf, CORBA::Double theUParam, CORBA::Double theVParam)
 
CORBA::Double MaxSurfaceCurvatureByPoint (GEOM::GEOM_Object_ptr theSurf, GEOM::GEOM_Object_ptr thePoint)
 
CORBA::Double MinSurfaceCurvatureByParam (GEOM::GEOM_Object_ptr theSurf, CORBA::Double theUParam, CORBA::Double theVParam)
 
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)
 
GEOM::ListOfDoubleXYZtoUV (GEOM::GEOM_Object_ptr theSurf, const GEOM::ListOfDouble &theXYZlist, CORBA::Boolean theIsNormalized)
 
GEOM::ListOfDoubleUVtoXYZ (GEOM::GEOM_Object_ptr theSurf, const GEOM::ListOfDouble &theUVlist, CORBA::Boolean theIsNormalized)
 
GEOM::GEOM_IMeasureOperations::SequenceOfPairOfShapeSelfIntersected2D (const GEOM::GEOM_IMeasureOperations::CheckResults &theResuts)
 
GEOM::GEOM_IMeasureOperations::SequenceOfPairOfShapeInterferingSubshapes (const GEOM::GEOM_IMeasureOperations::CheckResults &theResuts, const CORBA::Long theShapeType1, const CORBA::Long theShapeType2)
 
GEOM::ListOfGOSmallEdges (const GEOM::GEOM_IMeasureOperations::CheckResults &theResuts)
 
GEOM::GEOM_IMeasureOperations::SequenceOfPairOfShapeDistantShapes (const GEOM::GEOM_IMeasureOperations::CheckResults &theResuts, const CORBA::Long theShapeType, const CORBA::Long theSubShapeType, const CORBA::Double theTolerance)
 
GEOM::GEOM_IMeasureOperations::CheckResultsCheckConformityShape (GEOM::GEOM_Object_ptr theShape)
 
CORBA::Double UpdateTolerance (GEOM::GEOM_Object_ptr theShape)
 
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_IMeasureOperationsGetOperations ()
 
- Public Member Functions inherited from GEOM_IOperations_i
 GEOM_IOperations_i (PortableServer::POA_ptr thePOA, GEOM::GEOM_Gen_ptr theEngine, ::GEOM_IOperations *theImpl)
 
 ~GEOM_IOperations_i ()
 
virtual CORBA::Boolean IsDone ()
 
virtual void SetErrorCode (const char *theErrorCode)
 
virtual char * GetErrorCode ()
 
virtual GEOM::GEOM_BaseObject_ptr GetBaseObject (Handle(::GEOM_BaseObject) theObject)
 
virtual void FinishOperation ()
 
virtual void AbortOperation ()
 
::GEOM_IOperationsGetImpl ()
 
virtual void UpdateGUIForObject (GEOM::GEOM_Object_ptr theObj)
 

Private Member Functions

void ConvertToList (const GEOM::GEOM_IMeasureOperations::CheckResults &theResuts, std::list< GEOMImpl_IMeasureOperations::FailedChecks > &theListOfResults)
 

Constructor & Destructor Documentation

◆ GEOM_IMeasureOperations_i()

GEOM_IMeasureOperations_i::GEOM_IMeasureOperations_i ( PortableServer::POA_ptr  thePOA,
GEOM::GEOM_Gen_ptr  theEngine,
::GEOMImpl_IMeasureOperations theImpl 
)

constructor:

◆ ~GEOM_IMeasureOperations_i()

GEOM_IMeasureOperations_i::~GEOM_IMeasureOperations_i ( )

destructor

Member Function Documentation

◆ AreCoordsInside()

GEOM::ListOfBool * GEOM_IMeasureOperations_i::AreCoordsInside ( GEOM::GEOM_Object_ptr  theShape,
const GEOM::ListOfDouble theCoords,
CORBA::Double  tolerance 
)

◆ CheckBOPArguments()

CORBA::Boolean GEOM_IMeasureOperations_i::CheckBOPArguments ( GEOM::GEOM_Object_ptr  theShape)

◆ CheckConformityShape()

GEOM::GEOM_IMeasureOperations::CheckResults * GEOM_IMeasureOperations_i::CheckConformityShape ( GEOM::GEOM_Object_ptr  theShape)

CheckConformityShape Perform all required checks

References GEOMImpl_IMeasureOperations::CheckConformityShape(), GetOperations(), and Handle().

◆ CheckSelfIntersections()

◆ CheckSelfIntersectionsFast()

CORBA::Boolean GEOM_IMeasureOperations_i::CheckSelfIntersectionsFast ( GEOM::GEOM_Object_ptr  theShape,
CORBA::Float  theDeflection,
CORBA::Double  theTolerance,
GEOM::ListOfLong_out  theIntersections 
)

◆ CheckShape()

CORBA::Boolean GEOM_IMeasureOperations_i::CheckShape ( GEOM::GEOM_Object_ptr  theShape,
GEOM::GEOM_IMeasureOperations::ShapeErrors_out  theErrors 
)

◆ CheckShapeWithGeometry()

CORBA::Boolean GEOM_IMeasureOperations_i::CheckShapeWithGeometry ( GEOM::GEOM_Object_ptr  theShape,
GEOM::GEOM_IMeasureOperations::ShapeErrors_out  theErrors 
)

◆ ClosestPoints()

CORBA::Long GEOM_IMeasureOperations_i::ClosestPoints ( GEOM::GEOM_Object_ptr  theShape1,
GEOM::GEOM_Object_ptr  theShape2,
GEOM::ListOfDouble_out  theCoords 
)

◆ ConvertToList()

void GEOM_IMeasureOperations_i::ConvertToList ( const GEOM::GEOM_IMeasureOperations::CheckResults theResuts,
std::list< GEOMImpl_IMeasureOperations::FailedChecks > &  theListOfResults 
)
private

◆ CurveCurvatureByParam()

CORBA::Double GEOM_IMeasureOperations_i::CurveCurvatureByParam ( GEOM::GEOM_Object_ptr  theCurve,
CORBA::Double  theParam 
)

◆ CurveCurvatureByPoint()

CORBA::Double GEOM_IMeasureOperations_i::CurveCurvatureByPoint ( GEOM::GEOM_Object_ptr  theCurve,
GEOM::GEOM_Object_ptr  thePoint 
)

◆ DistantShapes()

GEOM::GEOM_IMeasureOperations::SequenceOfPairOfShape * GEOM_IMeasureOperations_i::DistantShapes ( const GEOM::GEOM_IMeasureOperations::CheckResults theResuts,
const CORBA::Long  theShapeType,
const CORBA::Long  theSubShapeType,
const CORBA::Double  theTolerance 
)

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

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

References ConvertToList(), GetOperations(), Handle(), and GEOM_IOperations_i::IsDone().

◆ FastIntersect()

CORBA::Boolean GEOM_IMeasureOperations_i::FastIntersect ( GEOM::GEOM_Object_ptr  theShape1,
GEOM::GEOM_Object_ptr  theShape2,
CORBA::Double  theTolerance,
CORBA::Float  theDeflection,
GEOM::ListOfLong_out  theIntersections1,
GEOM::ListOfLong_out  theIntersections2 
)

◆ GetAngle()

CORBA::Double GEOM_IMeasureOperations_i::GetAngle ( GEOM::GEOM_Object_ptr  theShape1,
GEOM::GEOM_Object_ptr  theShape2 
)

◆ GetAngleBtwVectors()

CORBA::Double GEOM_IMeasureOperations_i::GetAngleBtwVectors ( GEOM::GEOM_Object_ptr  theShape1,
GEOM::GEOM_Object_ptr  theShape2 
)

◆ GetBasicProperties()

void GEOM_IMeasureOperations_i::GetBasicProperties ( GEOM::GEOM_Object_ptr  theShape,
CORBA::Double  theTolerance,
CORBA::Double &  theLength,
CORBA::Double &  theSurfArea,
CORBA::Double &  theVolume 
)

◆ GetBoundingBox()

void GEOM_IMeasureOperations_i::GetBoundingBox ( GEOM::GEOM_Object_ptr  theShape,
CORBA::Boolean  precise,
CORBA::Double &  Xmin,
CORBA::Double &  Xmax,
CORBA::Double &  Ymin,
CORBA::Double &  Ymax,
CORBA::Double &  Zmin,
CORBA::Double &  Zmax 
)

◆ GetCentreOfMass()

GEOM::GEOM_Object_ptr GEOM_IMeasureOperations_i::GetCentreOfMass ( GEOM::GEOM_Object_ptr  theShape)

◆ GetCoarseProximity()

CORBA::Double GEOM_IMeasureOperations_i::GetCoarseProximity ( GEOM::GEOM_Object_ptr  theCalculator)

◆ GetInertia()

void GEOM_IMeasureOperations_i::GetInertia ( GEOM::GEOM_Object_ptr  theShape,
CORBA::Double &  I11,
CORBA::Double &  I12,
CORBA::Double &  I13,
CORBA::Double &  I21,
CORBA::Double &  I22,
CORBA::Double &  I23,
CORBA::Double &  I31,
CORBA::Double &  I32,
CORBA::Double &  I33,
CORBA::Double &  Ix,
CORBA::Double &  Iy,
CORBA::Double &  Iz 
)

◆ GetMinDistance()

CORBA::Double GEOM_IMeasureOperations_i::GetMinDistance ( GEOM::GEOM_Object_ptr  theShape1,
GEOM::GEOM_Object_ptr  theShape2,
CORBA::Double &  X1,
CORBA::Double &  Y1,
CORBA::Double &  Z1,
CORBA::Double &  X2,
CORBA::Double &  Y2,
CORBA::Double &  Z2 
)

◆ GetNormal()

GEOM::GEOM_Object_ptr GEOM_IMeasureOperations_i::GetNormal ( GEOM::GEOM_Object_ptr  theFace,
GEOM::GEOM_Object_ptr  theOptionalPoint 
)

◆ GetOperations()

::GEOMImpl_IMeasureOperations* GEOM_IMeasureOperations_i::GetOperations ( )
inline

◆ GetPosition()

void GEOM_IMeasureOperations_i::GetPosition ( GEOM::GEOM_Object_ptr  theShape,
CORBA::Double &  Ox,
CORBA::Double &  Oy,
CORBA::Double &  Oz,
CORBA::Double &  Zx,
CORBA::Double &  Zy,
CORBA::Double &  Zz,
CORBA::Double &  Xx,
CORBA::Double &  Xy,
CORBA::Double &  Xz 
)

◆ GetPreciseProximity()

CORBA::Double GEOM_IMeasureOperations_i::GetPreciseProximity ( GEOM::GEOM_Object_ptr  theCalculator)

◆ GetTolerance()

void GEOM_IMeasureOperations_i::GetTolerance ( GEOM::GEOM_Object_ptr  theShape,
CORBA::Double &  FaceMin,
CORBA::Double &  FaceMax,
CORBA::Double &  EdgeMin,
CORBA::Double &  EdgeMax,
CORBA::Double &  VertMin,
CORBA::Double &  VertMax 
)

◆ GetVertexByIndex()

GEOM::GEOM_Object_ptr GEOM_IMeasureOperations_i::GetVertexByIndex ( GEOM::GEOM_Object_ptr  theShape,
CORBA::Long  theIndex,
CORBA::Boolean  theUseOri 
)

◆ InterferingSubshapes()

GEOM::GEOM_IMeasureOperations::SequenceOfPairOfShape * GEOM_IMeasureOperations_i::InterferingSubshapes ( const GEOM::GEOM_IMeasureOperations::CheckResults theResuts,
const CORBA::Long  theShapeType1,
const CORBA::Long  theShapeType2 
)

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

Parameters
theShapeShape for check.
theShapeType1Type of shape.
theShapeType2Type of shape.

References ConvertToList(), GetOperations(), Handle(), GEOMImpl_IMeasureOperations::InterferingSubshapes(), and GEOM_IOperations_i::IsDone().

◆ IsGoodForSolid()

char * GEOM_IMeasureOperations_i::IsGoodForSolid ( GEOM::GEOM_Object_ptr  theShape)

◆ KindOfShape()

GEOM::GEOM_IKindOfShape::shape_kind GEOM_IMeasureOperations_i::KindOfShape ( GEOM::GEOM_Object_ptr  theShape,
GEOM::ListOfLong_out  theIntegers,
GEOM::ListOfDouble_out  theDoubles 
)

◆ MakeBoundingBox()

GEOM::GEOM_Object_ptr GEOM_IMeasureOperations_i::MakeBoundingBox ( GEOM::GEOM_Object_ptr  theShape,
CORBA::Boolean  precise 
)

◆ MaxSurfaceCurvatureByParam()

CORBA::Double GEOM_IMeasureOperations_i::MaxSurfaceCurvatureByParam ( GEOM::GEOM_Object_ptr  theSurf,
CORBA::Double  theUParam,
CORBA::Double  theVParam 
)

◆ MaxSurfaceCurvatureByPoint()

CORBA::Double GEOM_IMeasureOperations_i::MaxSurfaceCurvatureByPoint ( GEOM::GEOM_Object_ptr  theSurf,
GEOM::GEOM_Object_ptr  thePoint 
)

◆ MinSurfaceCurvatureByParam()

CORBA::Double GEOM_IMeasureOperations_i::MinSurfaceCurvatureByParam ( GEOM::GEOM_Object_ptr  theSurf,
CORBA::Double  theUParam,
CORBA::Double  theVParam 
)

◆ MinSurfaceCurvatureByPoint()

CORBA::Double GEOM_IMeasureOperations_i::MinSurfaceCurvatureByPoint ( GEOM::GEOM_Object_ptr  theSurf,
GEOM::GEOM_Object_ptr  thePoint 
)

◆ PatchFace()

GEOM::ListOfGO * GEOM_IMeasureOperations_i::PatchFace ( GEOM::GEOM_Object_ptr  theShape)

◆ PointCoordinates()

void GEOM_IMeasureOperations_i::PointCoordinates ( GEOM::GEOM_Object_ptr  theShape,
CORBA::Double &  X,
CORBA::Double &  Y,
CORBA::Double &  Z 
)

◆ PrintShapeErrors()

char * GEOM_IMeasureOperations_i::PrintShapeErrors ( GEOM::GEOM_Object_ptr  theShape,
const GEOM::GEOM_IMeasureOperations::ShapeErrors theErrors 
)

◆ SelfIntersected2D()

GEOM::GEOM_IMeasureOperations::SequenceOfPairOfShape * GEOM_IMeasureOperations_i::SelfIntersected2D ( const GEOM::GEOM_IMeasureOperations::CheckResults theResuts)

SelfIntersected2D Find all self-intersected 2D curves.

Parameters
theShapeShape for check.

References ConvertToList(), GetOperations(), Handle(), GEOM_IOperations_i::IsDone(), and GEOMImpl_IMeasureOperations::SelfIntersected2D().

◆ SetShapeSampling()

void GEOM_IMeasureOperations_i::SetShapeSampling ( GEOM::GEOM_Object_ptr  theCalculator,
GEOM::GEOM_Object_ptr  theShape,
CORBA::Long  theNbSamples 
)

◆ ShapeProximityCalculator()

GEOM::GEOM_Object_ptr GEOM_IMeasureOperations_i::ShapeProximityCalculator ( GEOM::GEOM_Object_ptr  theShape1,
GEOM::GEOM_Object_ptr  theShape2 
)

◆ SmallEdges()

GEOM::ListOfGO * GEOM_IMeasureOperations_i::SmallEdges ( const GEOM::GEOM_IMeasureOperations::CheckResults theResuts)

SmallEdges Find edges, which are fully covered by tolerances of vertices.

Parameters
theShapeShape for check.

References ConvertToList(), GetOperations(), Handle(), and GEOM_IOperations_i::IsDone().

◆ SurfaceCurvatureByPointAndDirection()

GEOM::GEOM_Object_ptr GEOM_IMeasureOperations_i::SurfaceCurvatureByPointAndDirection ( GEOM::GEOM_Object_ptr  theSurf,
GEOM::GEOM_Object_ptr  thePoint,
GEOM::GEOM_Object_ptr  theDirection 
)

SurfaceCurvatureByPointAndDirection

References GetOperations(), Handle(), GEOM_IOperations_i::IsDone(), and GEOM_IOperations::SetNotDone().

◆ UpdateTolerance()

CORBA::Double GEOM_IMeasureOperations_i::UpdateTolerance ( GEOM::GEOM_Object_ptr  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 check.

References GetOperations(), Handle(), and GEOMImpl_IMeasureOperations::UpdateTolerance().

◆ UVtoXYZ()

GEOM::ListOfDouble * GEOM_IMeasureOperations_i::UVtoXYZ ( GEOM::GEOM_Object_ptr  theSurf,
const GEOM::ListOfDouble theUVlist,
CORBA::Boolean  theIsNormalized 
)

◆ WhatIs()

char * GEOM_IMeasureOperations_i::WhatIs ( GEOM::GEOM_Object_ptr  theShape)

◆ XYZtoUV()

GEOM::ListOfDouble * GEOM_IMeasureOperations_i::XYZtoUV ( GEOM::GEOM_Object_ptr  theSurf,
const GEOM::ListOfDouble theXYZlist,
CORBA::Boolean  theIsNormalized 
)

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