Version: 9.12.0
GEOM_IMeasureOperations_i.cc File Reference
#include <Standard_Stream.hxx>
#include <TColStd_HArray1OfReal.hxx>
#include "GEOM_IMeasureOperations_i.hh"
#include "utilities.h"
#include "OpUtil.hxx"
#include "GEOM_Engine.hxx"
#include "GEOM_Object.hxx"

Macros

#define WRN_SHAPE_IS_NULL   "WRN_SHAPE_IS_NULL"
 

Functions

static void ConvertShapeError (const GEOM::GEOM_IMeasureOperations::ShapeErrors &theErrorsFrom, std::list< GEOMImpl_IMeasureOperations::ShapeError > &theErrorsTo)
 This function converts shape errors from theErrorsFrom to theErrorsTo. More...
 
static void ConvertShapeError (const std::list< GEOMImpl_IMeasureOperations::ShapeError > &theErrorsFrom, GEOM::GEOM_IMeasureOperations::ShapeErrors_out &theErrorsTo)
 This function converts shape errors from theErrorsFrom to theErrorsTo. More...
 

Macro Definition Documentation

◆ WRN_SHAPE_IS_NULL

#define WRN_SHAPE_IS_NULL   "WRN_SHAPE_IS_NULL"

Function Documentation

◆ ConvertShapeError() [1/2]

static void ConvertShapeError ( const GEOM::GEOM_IMeasureOperations::ShapeErrors theErrorsFrom,
std::list< GEOMImpl_IMeasureOperations::ShapeError > &  theErrorsTo 
)
static

Note that theErrorsTo is not cleared at first.

Parameters
theErrorsFromerrors to be converted.
theErrorsToresult errors.

References GEOM::GEOM_IMeasureOperations::BadOrientation, GEOM::GEOM_IMeasureOperations::BadOrientationOfSubshape, GEOM::GEOM_IMeasureOperations::CheckFail, GEOM::GEOM_IMeasureOperations::EmptyShell, GEOM::GEOM_IMeasureOperations::EmptyWire, GEOM::GEOM_IMeasureOperations::ShapeError::error, GEOMImpl_IMeasureOperations::ShapeError::error, GEOM::GEOM_IMeasureOperations::FreeEdge, GEOM::GEOM_IMeasureOperations::ShapeError::incriminated, GEOMImpl_IMeasureOperations::ShapeError::incriminated, GEOM::GEOM_IMeasureOperations::IntersectingWires, GEOM::GEOM_IMeasureOperations::Invalid3DCurve, GEOM::GEOM_IMeasureOperations::InvalidCurveOnClosedSurface, GEOM::GEOM_IMeasureOperations::InvalidCurveOnSurface, GEOM::GEOM_IMeasureOperations::InvalidDegeneratedFlag, GEOM::GEOM_IMeasureOperations::InvalidImbricationOfWires, GEOM::GEOM_IMeasureOperations::InvalidMultiConnexity, GEOM::GEOM_IMeasureOperations::InvalidPointOnCurve, GEOM::GEOM_IMeasureOperations::InvalidPointOnCurveOnSurface, GEOM::GEOM_IMeasureOperations::InvalidPointOnSurface, GEOM::GEOM_IMeasureOperations::InvalidRange, GEOM::GEOM_IMeasureOperations::InvalidSameParameterFlag, GEOM::GEOM_IMeasureOperations::InvalidSameRangeFlag, GEOM::GEOM_IMeasureOperations::InvalidToleranceValue, GEOM::GEOM_IMeasureOperations::InvalidWire, GEOM::GEOM_IMeasureOperations::Multiple3DCurve, GEOM::GEOM_IMeasureOperations::No3DCurve, GEOM::GEOM_IMeasureOperations::NoCurveOnSurface, GEOM::GEOM_IMeasureOperations::NoSurface, GEOM::GEOM_IMeasureOperations::NotClosed, GEOM::GEOM_IMeasureOperations::NotConnected, GEOM::GEOM_IMeasureOperations::RedundantEdge, GEOM::GEOM_IMeasureOperations::RedundantFace, GEOM::GEOM_IMeasureOperations::RedundantWire, GEOM::GEOM_IMeasureOperations::SelfIntersectingWire, GEOM::GEOM_IMeasureOperations::SubshapeNotInShape, and GEOM::GEOM_IMeasureOperations::UnorientableShape.

◆ ConvertShapeError() [2/2]

static void ConvertShapeError ( const std::list< GEOMImpl_IMeasureOperations::ShapeError > &  theErrorsFrom,
GEOM::GEOM_IMeasureOperations::ShapeErrors_out &  theErrorsTo 
)
static

Note that theErrorsTo is not cleared at first.

Parameters
theErrorsFromerrors to be converted.
theErrorsToresult errors.

References GEOM::GEOM_IMeasureOperations::BadOrientation, GEOM::GEOM_IMeasureOperations::BadOrientationOfSubshape, GEOM::GEOM_IMeasureOperations::CheckFail, GEOM::GEOM_IMeasureOperations::EmptyShell, GEOM::GEOM_IMeasureOperations::EmptyWire, GEOM::GEOM_IMeasureOperations::ShapeError::error, GEOM::GEOM_IMeasureOperations::FreeEdge, GEOM::GEOM_IMeasureOperations::IntersectingWires, GEOM::GEOM_IMeasureOperations::Invalid3DCurve, GEOM::GEOM_IMeasureOperations::InvalidCurveOnClosedSurface, GEOM::GEOM_IMeasureOperations::InvalidCurveOnSurface, GEOM::GEOM_IMeasureOperations::InvalidDegeneratedFlag, GEOM::GEOM_IMeasureOperations::InvalidImbricationOfWires, GEOM::GEOM_IMeasureOperations::InvalidMultiConnexity, GEOM::GEOM_IMeasureOperations::InvalidPointOnCurve, GEOM::GEOM_IMeasureOperations::InvalidPointOnCurveOnSurface, GEOM::GEOM_IMeasureOperations::InvalidPointOnSurface, GEOM::GEOM_IMeasureOperations::InvalidRange, GEOM::GEOM_IMeasureOperations::InvalidSameParameterFlag, GEOM::GEOM_IMeasureOperations::InvalidSameRangeFlag, GEOM::GEOM_IMeasureOperations::InvalidToleranceValue, GEOM::GEOM_IMeasureOperations::InvalidWire, GEOM::GEOM_IMeasureOperations::Multiple3DCurve, GEOM::GEOM_IMeasureOperations::No3DCurve, GEOM::GEOM_IMeasureOperations::NoCurveOnSurface, GEOM::GEOM_IMeasureOperations::NoSurface, GEOM::GEOM_IMeasureOperations::NotClosed, GEOM::GEOM_IMeasureOperations::NotConnected, GEOM::GEOM_IMeasureOperations::RedundantEdge, GEOM::GEOM_IMeasureOperations::RedundantFace, GEOM::GEOM_IMeasureOperations::RedundantWire, GEOM::GEOM_IMeasureOperations::SelfIntersectingWire, GEOM::GEOM_IMeasureOperations::SubshapeNotInShape, and GEOM::GEOM_IMeasureOperations::UnorientableShape.