Version: 9.12.0
GEOMImpl_IBlocksOperations Class Reference

#include <GEOMImpl_IBlocksOperations.hxx>

Inheritance diagram for GEOMImpl_IBlocksOperations:
Inheritance graph

Classes

struct  BCError
 

Public Types

enum  BCErrorType {
  NOT_BLOCK , EXTRA_EDGE , INVALID_CONNECTION , NOT_CONNECTED ,
  NOT_GLUED
}
 

Public Member Functions

Standard_EXPORT GEOMImpl_IBlocksOperations (GEOM_Engine *theEngine)
 
Standard_EXPORT ~GEOMImpl_IBlocksOperations ()
 
Standard_EXPORT Handle (GEOM_Object) MakeQuad(Handle(GEOM_Object) theEdge1
 
Standard_EXPORT Handle (GEOM_Object) theEdge2
 
Standard_EXPORT Handle (GEOM_Object) theEdge3
 
Standard_EXPORT Handle (GEOM_Object) theEdge4)
 
Standard_EXPORT Handle (GEOM_Object) MakeQuad2Edges(Handle(GEOM_Object) theEdge1
 
Standard_EXPORT Handle (GEOM_Object) theEdge2)
 
Standard_EXPORT Handle (GEOM_Object) MakeQuad4Vertices(Handle(GEOM_Object) thePoint1
 
Standard_EXPORT Handle (GEOM_Object) thePoint2
 
Standard_EXPORT Handle (GEOM_Object) thePoint3
 
Standard_EXPORT Handle (GEOM_Object) thePoint4)
 
Standard_EXPORT Handle (GEOM_Object) MakeHexa(Handle(GEOM_Object) theFace1
 
Standard_EXPORT Handle (GEOM_Object) theFace2
 
Standard_EXPORT Handle (GEOM_Object) theFace3
 
Standard_EXPORT Handle (GEOM_Object) theFace4
 
Standard_EXPORT Handle (GEOM_Object) theFace5
 
Standard_EXPORT Handle (GEOM_Object) theFace6)
 
Standard_EXPORT Handle (GEOM_Object) MakeHexa2Faces(Handle(GEOM_Object) theFace1
 
Standard_EXPORT Handle (GEOM_Object) theFace2)
 
Standard_EXPORT Handle (GEOM_Object) MakeBlockCompound(Handle(GEOM_Object) theCompound)
 
Standard_EXPORT Handle (GEOM_Object) GetPoint(Handle(GEOM_Object) theShape
 
Standard_EXPORT Handle (GEOM_Object) GetVertexNearPoint(Handle(GEOM_Object) theShape
 
Standard_EXPORT Handle (GEOM_Object) thePoint)
 
Standard_EXPORT Handle (GEOM_Object) GetEdge(Handle(GEOM_Object) theShape
 
Standard_EXPORT Handle (GEOM_Object) thePoint1
 
Standard_EXPORT Handle (GEOM_Object) thePoint2)
 
Standard_EXPORT Handle (GEOM_Object) GetEdgeNearPoint(Handle(GEOM_Object) theBlock
 
Standard_EXPORT Handle (GEOM_Object) thePoint)
 
Standard_EXPORT Handle (GEOM_Object) GetFaceByPoints(Handle(GEOM_Object) theShape
 
Standard_EXPORT Handle (GEOM_Object) thePoint1
 
Standard_EXPORT Handle (GEOM_Object) thePoint2
 
Standard_EXPORT Handle (GEOM_Object) thePoint3
 
Standard_EXPORT Handle (GEOM_Object) thePoint4)
 
Standard_EXPORT Handle (GEOM_Object) GetFaceByEdges(Handle(GEOM_Object) theShape
 
Standard_EXPORT Handle (GEOM_Object) theEdge1
 
Standard_EXPORT Handle (GEOM_Object) theEdge2)
 
Standard_EXPORT Handle (GEOM_Object) GetOppositeFace(Handle(GEOM_Object) theBlock
 
Standard_EXPORT Handle (GEOM_Object) theFace)
 
Standard_EXPORT Handle (GEOM_Object) GetFaceNearPoint(Handle(GEOM_Object) theBlock
 
Standard_EXPORT Handle (GEOM_Object) thePoint)
 
Standard_EXPORT Handle (GEOM_Object) GetFaceByNormale(Handle(GEOM_Object) theBlock
 
Standard_EXPORT Handle (GEOM_Object) theVector)
 
Standard_EXPORT Handle (GEOM_Object) GetShapesNearPoint(Handle(GEOM_Object) theShape
 
Standard_EXPORT Handle (GEOM_Object) thePoint
 
Standard_EXPORT Standard_Boolean IsCompoundOfBlocks (Handle(GEOM_Object) theCompound, const Standard_Integer theMinNbFaces, const Standard_Integer theMaxNbFaces, Standard_Integer &theNbBlocks)
 
Standard_EXPORT Standard_Boolean CheckCompoundOfBlocks (Handle(GEOM_Object) theCompound, const Standard_Real theToleranceC1, std::list< BCError > &theErrors)
 
Standard_EXPORT TCollection_AsciiString PrintBCErrors (Handle(GEOM_Object) theCompound, const std::list< BCError > &theErrors)
 
Standard_EXPORT Handle (GEOM_Object) GetNonBlocks(Handle(GEOM_Object) theShape
 
Standard_EXPORT const Standard_Real Handle (GEOM_Object) &theNonQuads)
 
Standard_EXPORT Handle (GEOM_Object) RemoveExtraEdges(Handle(GEOM_Object) theShape
 
Standard_EXPORT Handle (GEOM_Object) UnionFaces(Handle(GEOM_Object) theShape)
 
Standard_EXPORT Handle (GEOM_Object) CheckAndImprove(Handle(GEOM_Object) theCompound)
 
Standard_EXPORT Handle (TColStd_HSequenceOfTransient) ExplodeCompoundOfBlocks(Handle(GEOM_Object) theCompound
 
Standard_EXPORT Handle (GEOM_Object) GetBlockNearPoint(Handle(GEOM_Object) theCompound
 
Standard_EXPORT Handle (GEOM_Object) thePoint)
 
Standard_EXPORT Handle (GEOM_Object) GetBlockByParts(Handle(GEOM_Object) theCompound
 
Standard_EXPORT const Handle (TColStd_HSequenceOfTransient) &theParts)
 
Standard_EXPORT Handle (TColStd_HSequenceOfTransient) GetBlocksByParts(Handle(GEOM_Object) theCompound
 
Standard_EXPORT const Handle (TColStd_HSequenceOfTransient) &theParts)
 
Standard_EXPORT Handle (GEOM_Object) MakeMultiTransformation1D(Handle(GEOM_Object) theBlock
 
Standard_EXPORT Handle (GEOM_Object) MakeMultiTransformation2D(Handle(GEOM_Object) theBlock
 
Standard_EXPORT Handle (TColStd_HSequenceOfTransient) Propagate(Handle(GEOM_Object) theShape)
 
- 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 ()
 

Static Public Member Functions

static Standard_EXPORT void AddBlocksFrom (const TopoDS_Shape &theShape, TopTools_ListOfShape &BLO, TopTools_ListOfShape &NOT, TopTools_ListOfShape &EXT, TopTools_ListOfShape &NOQ, const Standard_Real theToleranceC1=-1.)
 

Public Attributes

Standard_EXPORT const Standard_Real theX
 
Standard_EXPORT const Standard_Real const Standard_Real theY
 
Standard_EXPORT const Standard_Real const Standard_Real const Standard_Real theZ
 
Standard_EXPORT const Standard_Real const Standard_Real const Standard_Real const Standard_Real theEpsilon
 
Standard_EXPORT const Standard_Integer theShapeType
 
Standard_EXPORT const Standard_Integer const Standard_Real theTolerance
 
Standard_EXPORT const Standard_Real theToleranceC1
 
Standard_EXPORT const Standard_Integer theOptimumNbFaces = 6)
 
Standard_EXPORT const Standard_Integer theMinNbFaces
 
Standard_EXPORT const Standard_Integer const Standard_Integer theMaxNbFaces
 
Standard_EXPORT const Standard_Integer theDirFace1
 
Standard_EXPORT const Standard_Integer const Standard_Integer theDirFace2
 
Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer theNbTimes
 
Standard_EXPORT const Standard_Integer theDirFace1U
 
Standard_EXPORT const Standard_Integer const Standard_Integer theDirFace2U
 
Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer theNbTimesU
 
Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer theDirFace1V
 
Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer theDirFace2V
 
Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer theNbTimesV
 

Member Enumeration Documentation

◆ BCErrorType

Enumerator
NOT_BLOCK 
EXTRA_EDGE 
INVALID_CONNECTION 
NOT_CONNECTED 
NOT_GLUED 

Constructor & Destructor Documentation

◆ GEOMImpl_IBlocksOperations()

GEOMImpl_IBlocksOperations::GEOMImpl_IBlocksOperations ( GEOM_Engine theEngine)

constructor:

◆ ~GEOMImpl_IBlocksOperations()

GEOMImpl_IBlocksOperations::~GEOMImpl_IBlocksOperations ( )

destructor

Member Function Documentation

◆ AddBlocksFrom()

void GEOMImpl_IBlocksOperations::AddBlocksFrom ( const TopoDS_Shape &  theShape,
TopTools_ListOfShape &  BLO,
TopTools_ListOfShape &  NOT,
TopTools_ListOfShape &  EXT,
TopTools_ListOfShape &  NOQ,
const Standard_Real  theToleranceC1 = -1. 
)
static

◆ CheckCompoundOfBlocks()

◆ Handle() [1/58]

Standard_EXPORT const Standard_Real GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  ) &

◆ Handle() [2/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [3/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [4/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [5/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [6/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [7/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [8/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [9/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [10/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [11/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [12/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [13/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [14/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [15/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [16/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [17/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [18/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [19/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [20/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [21/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [22/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [23/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [24/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [25/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [26/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [27/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [28/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [29/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [30/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [31/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [32/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [33/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [34/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [35/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [36/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [37/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [38/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [39/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [40/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [41/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [42/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [43/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [44/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [45/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [46/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [47/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [48/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [49/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [50/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [51/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [52/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [53/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( GEOM_Object  )

◆ Handle() [54/58]

Standard_EXPORT const GEOMImpl_IBlocksOperations::Handle ( TColStd_HSequenceOfTransient  ) &

◆ Handle() [55/58]

Standard_EXPORT const GEOMImpl_IBlocksOperations::Handle ( TColStd_HSequenceOfTransient  ) &

◆ Handle() [56/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( TColStd_HSequenceOfTransient  )

◆ Handle() [57/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( TColStd_HSequenceOfTransient  )

◆ Handle() [58/58]

Standard_EXPORT GEOMImpl_IBlocksOperations::Handle ( TColStd_HSequenceOfTransient  )

◆ IsCompoundOfBlocks()

Standard_Boolean GEOMImpl_IBlocksOperations::IsCompoundOfBlocks ( Handle(GEOM_Object)  theCompound,
const Standard_Integer  theMinNbFaces,
const Standard_Integer  theMaxNbFaces,
Standard_Integer &  theNbBlocks 
)

IsCompoundOfBlocks

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

◆ PrintBCErrors()

TCollection_AsciiString GEOMImpl_IBlocksOperations::PrintBCErrors ( Handle(GEOM_Object)  theCompound,
const std::list< BCError > &  theErrors 
)

Member Data Documentation

◆ theDirFace1

Standard_EXPORT const Standard_Integer GEOMImpl_IBlocksOperations::theDirFace1

◆ theDirFace1U

Standard_EXPORT const Standard_Integer GEOMImpl_IBlocksOperations::theDirFace1U

◆ theDirFace1V

Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations::theDirFace1V

◆ theDirFace2

Standard_EXPORT const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations::theDirFace2

◆ theDirFace2U

Standard_EXPORT const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations::theDirFace2U

◆ theDirFace2V

Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations::theDirFace2V

◆ theEpsilon

Standard_EXPORT const Standard_Real const Standard_Real const Standard_Real const Standard_Real GEOMImpl_IBlocksOperations::theEpsilon

◆ theMaxNbFaces

Standard_EXPORT const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations::theMaxNbFaces

◆ theMinNbFaces

Standard_EXPORT const Standard_Integer GEOMImpl_IBlocksOperations::theMinNbFaces

◆ theNbTimes

Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations::theNbTimes

◆ theNbTimesU

Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations::theNbTimesU

◆ theNbTimesV

Standard_EXPORT const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer const Standard_Integer GEOMImpl_IBlocksOperations::theNbTimesV

◆ theOptimumNbFaces

Standard_EXPORT const Standard_Integer GEOMImpl_IBlocksOperations::theOptimumNbFaces = 6)

◆ theShapeType

Standard_EXPORT const Standard_Integer GEOMImpl_IBlocksOperations::theShapeType

◆ theTolerance

Standard_EXPORT const Standard_Integer const Standard_Real GEOMImpl_IBlocksOperations::theTolerance

◆ theToleranceC1

Standard_EXPORT const Standard_Real GEOMImpl_IBlocksOperations::theToleranceC1

◆ theX

Standard_EXPORT const Standard_Real GEOMImpl_IBlocksOperations::theX

◆ theY

Standard_EXPORT const Standard_Real const Standard_Real GEOMImpl_IBlocksOperations::theY

◆ theZ

Standard_EXPORT const Standard_Real const Standard_Real const Standard_Real GEOMImpl_IBlocksOperations::theZ

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