Version: 6.3.1
Data Structures | Public Types | Public Member Functions | Static Public Member Functions | Data Fields | Private Member Functions | Static Private Member Functions | Private Attributes

GEOMImpl_IShapesOperations Class Reference

#include <GEOMImpl_IShapesOperations.hxx>

Inheritance diagram for GEOMImpl_IShapesOperations:
Inheritance graph

Data Structures

struct  CompareShapes
 Sort shapes in the list by their coordinates. More...

Public Types

enum  ExplodeType { EXPLODE_OLD_INCLUDE_MAIN, EXPLODE_NEW_INCLUDE_MAIN, EXPLODE_NEW_EXCLUDE_MAIN }

Public Member Functions

Standard_EXPORT GEOMImpl_IShapesOperations (GEOM_Engine *theEngine, int theDocID)
Standard_EXPORT ~GEOMImpl_IShapesOperations ()
Standard_EXPORT Handle (GEOM_Object) MakeEdge(Handle(GEOM_Object) thePoint1
Standard_EXPORT Handle (GEOM_Object) thePoint2)
Standard_EXPORT Handle (GEOM_Object) MakeEdgeOnCurveByLength(Handle(GEOM_Object) theCurve
Standard_EXPORT const Standard_Real Handle (GEOM_Object) theStartPoint)
Standard_EXPORT Handle (GEOM_Object) MakeEdgeWire(Handle(GEOM_Object) theWire
Standard_EXPORT Handle (GEOM_Object) MakeGlueFacesByList(Handle(GEOM_Object) theShape
Standard_EXPORT Handle (GEOM_Object) MakeGlueEdges(Handle(GEOM_Object) theShape
Standard_EXPORT Handle (TColStd_HSequenceOfTransient) GetGlueShapes(Handle(GEOM_Object) theShape
Standard_EXPORT Handle (GEOM_Object) MakeGlueEdgesByList(Handle(GEOM_Object) theShape
Standard_EXPORT Handle (TColStd_HSequenceOfTransient) GetExistingSubObjects(Handle(GEOM_Object) theShape
Standard_EXPORT Handle (TColStd_HSequenceOfTransient) MakeExplode(Handle(GEOM_Object) theShape
Standard_EXPORT Handle (TColStd_HSequenceOfInteger) SubShapeAllIDs(Handle(GEOM_Object) theShape
Standard_EXPORT Handle (GEOM_Object) GetSubShape(Handle(GEOM_Object) theMainShape
Standard_EXPORT Handle (TColStd_HSequenceOfTransient) MakeSubShapes(Handle(GEOM_Object) theMainShape
Standard_EXPORT Handle (TColStd_HArray1OfInteger) theIndices)
Standard_EXPORT Standard_Integer GetSubShapeIndex (Handle(GEOM_Object) theMainShape, Handle(GEOM_Object) theSubShape)
Standard_EXPORT Standard_Integer GetTopologyIndex (Handle(GEOM_Object) theMainShape, Handle(GEOM_Object) theSubShape)
Standard_EXPORT
TCollection_AsciiString 
GetShapeTypeString (Handle(GEOM_Object) theShape)
Standard_EXPORT Standard_Integer NumberOfSubShapes (Handle(GEOM_Object) theShape, const Standard_Integer theShapeType)
Standard_EXPORT Handle (GEOM_Object) ReverseShape(Handle(GEOM_Object) theShapes)
Standard_EXPORT Handle (TColStd_HSequenceOfInteger) GetFreeFacesIDs(Handle(GEOM_Object) theShape)
Standard_EXPORT Handle (TColStd_HSequenceOfTransient) GetSharedShapes(Handle(GEOM_Object) theShape1
Standard_EXPORT Handle (GEOM_Object) theShape2
Standard_EXPORT Handle (TColStd_HSequenceOfTransient) GetShapesOnPlaneWithLocation(const Handle(GEOM_Object)&theShape
Standard_EXPORT const
Standard_Integer const 
Handle (GEOM_Object)&theAx1
Standard_EXPORT const
Standard_Integer const const 
Handle (GEOM_Object)&thePnt
Standard_EXPORT Handle (TColStd_HSequenceOfTransient) GetShapesOnCylinder(const Handle(GEOM_Object)&theShape
Standard_EXPORT const
Standard_Integer const 
Handle (GEOM_Object)&theAxis
Standard_EXPORT Handle (TColStd_HSequenceOfTransient) GetShapesOnCylinderWithLocation(const Handle(GEOM_Object)&theShape
Standard_EXPORT const
Standard_Integer const 
Handle (GEOM_Object)&theAxis
Standard_EXPORT const
Standard_Integer const const 
Handle (GEOM_Object)&thePnt
Standard_EXPORT Handle (TColStd_HSequenceOfTransient) GetShapesOnSphere(const Handle(GEOM_Object)&theShape
Standard_EXPORT const
Standard_Integer const 
Handle (GEOM_Object)&theCenter
Standard_EXPORT Handle (TColStd_HSequenceOfInteger) GetShapesOnPlaneIDs(const Handle(GEOM_Object)&theShape
Standard_EXPORT const
Standard_Integer const 
Handle (GEOM_Object)&theAx1
Standard_EXPORT Handle (TColStd_HSequenceOfInteger) GetShapesOnPlaneWithLocationIDs(const Handle(GEOM_Object)&theShape
Standard_EXPORT const
Standard_Integer const 
Handle (GEOM_Object)&theAx1
Standard_EXPORT const
Standard_Integer const const 
Handle (GEOM_Object)&thePnt
Standard_EXPORT Handle (TColStd_HSequenceOfInteger) GetShapesOnCylinderIDs(const Handle(GEOM_Object)&theShape
Standard_EXPORT const
Standard_Integer const 
Handle (GEOM_Object)&theAxis
Standard_EXPORT Handle (TColStd_HSequenceOfInteger) GetShapesOnCylinderWithLocationIDs(const Handle(GEOM_Object)&theShape
Standard_EXPORT const
Standard_Integer const 
Handle (GEOM_Object)&theAxis
Standard_EXPORT const
Standard_Integer const const 
Handle (GEOM_Object)&thePnt
Standard_EXPORT Handle (TColStd_HSequenceOfInteger) GetShapesOnSphereIDs(const Handle(GEOM_Object)&theShape
Standard_EXPORT const
Standard_Integer const 
Handle (GEOM_Object)&theCenter
Standard_EXPORT Handle (TColStd_HSequenceOfTransient) GetShapesOnQuadrangle(const Handle(GEOM_Object)&theShape
 Find subshapes complying with given status about quadrangle.
Standard_EXPORT const
Standard_Integer const 
Handle (GEOM_Object)&theTopLeftPoint
Standard_EXPORT const
Standard_Integer const const 
Handle (GEOM_Object)&theTopRigthPoint
Standard_EXPORT const
Standard_Integer const const
const 
Handle (GEOM_Object)&theBottomLeftPoint
Standard_EXPORT const
Standard_Integer const const
const const 
Handle (GEOM_Object)&theBottomRigthPoint
Standard_EXPORT Handle (TColStd_HSequenceOfInteger) GetShapesOnQuadrangleIDs(const Handle(GEOM_Object)&theShape
 Find IDs of subshapes complying with given status about quadrangle.
Standard_EXPORT const
Standard_Integer const 
Handle (GEOM_Object)&theTopLeftPoint
Standard_EXPORT const
Standard_Integer const const 
Handle (GEOM_Object)&theTopRigthPoint
Standard_EXPORT const
Standard_Integer const const
const 
Handle (GEOM_Object)&theBottomLeftPoint
Standard_EXPORT const
Standard_Integer const const
const const 
Handle (GEOM_Object)&theBottomRigthPoint
Standard_EXPORT Handle (GEOM_Object) GetShapesOnCylinderOld(Handle(GEOM_Object) theShape
Standard_EXPORT const
Standard_Integer 
Handle (GEOM_Object) theAxis
Standard_EXPORT Handle (GEOM_Object) GetShapesOnSphereOld(Handle(GEOM_Object) theShape
Standard_EXPORT const
Standard_Integer 
Handle (GEOM_Object) theCenter
void GetShapeProperties (const TopoDS_Shape aShape, Standard_Real propertiesArray[], gp_Pnt &aPnt)
Standard_EXPORT Handle (GEOM_Object) GetInPlace(Handle(GEOM_Object) theShapeWhere
Standard_EXPORT Handle (GEOM_Object) theShapeWhat)
Standard_EXPORT Handle (GEOM_Object) GetInPlaceByHistory(Handle(GEOM_Object) theShapeWhere
Standard_EXPORT Handle (GEOM_Object) theShapeWhat)
Standard_EXPORT Handle (GEOM_Object) GetSame(const Handle(GEOM_Object)&theShapeWhere
 Searches a shape equal to theWhat in the context of theWhere.
Standard_EXPORT const Handle (GEOM_Object)&theShapeWhat)
Standard_EXPORT Handle (TColStd_HSequenceOfInteger) GetShapesOnBoxIDs(const Handle(GEOM_Object)&theBox
 Find IDs of subshapes complying with given status about surface.
Standard_EXPORT const Handle (GEOM_Object)&theShape
Standard_EXPORT Handle (TColStd_HSequenceOfTransient) GetShapesOnBox(const Handle(GEOM_Object)&theBox
 Find subshapes complying with given status about surface.
Standard_EXPORT const Handle (GEOM_Object)&theShape
Standard_EXPORT Handle (TColStd_HSequenceOfInteger) GetShapesOnShapeIDs(const Handle(GEOM_Object)&theCheckShape
 Find IDs of subshapes complying with given status about surface.
Standard_EXPORT const Handle (GEOM_Object)&theShape
Standard_EXPORT Handle (TColStd_HSequenceOfTransient) GetShapesOnShape(const Handle(GEOM_Object)&theCheckShape
 Find subshapes complying with given status about surface.
Standard_EXPORT const Handle (GEOM_Object)&theShape
Standard_EXPORT Handle (GEOM_Object) GetShapesOnShapeAsCompound(const Handle(GEOM_Object)&theCheckShape
Standard_EXPORT const Handle (GEOM_Object)&theShape
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 ()
Standard_EXPORT int GetDocID ()

Static Public Member Functions

static Standard_EXPORT void SortShapes (TopTools_ListOfShape &SL, const Standard_Boolean isOldSorting=Standard_True)
static Standard_EXPORT TopoDS_Shape CompsolidToCompound (const TopoDS_Shape &theCompsolid)
 Convert TopoDS_COMPSOLID to TopoDS_COMPOUND.
static Standard_EXPORT bool CheckTriangulation (const TopoDS_Shape &theShape)
 Build a triangulation on theShape if it is absent.
static Standard_EXPORT
TopAbs_ShapeEnum 
GetTypeOfSimplePart (const TopoDS_Shape &theShape)
 Return type of shape for explode. In case of compound it will be a type of its first sub shape.

Data Fields

Standard_EXPORT const Standard_Real theLength
Standard_EXPORT const Standard_Real theLinearTolerance
Standard_EXPORT const
Standard_Real const
Standard_Real 
theAngularTolerance
Standard_EXPORT Handle(GEOM_Object)
MakeWire(std Standard_EXPORT
const bool 
isPlanarWanted
Standard_EXPORT Handle(GEOM_Object)
MakeFaceWires(std
Standard_EXPORT Handle(GEOM_Object)
MakeShell(std Standard_EXPORT
Handle(GEOM_Object)
MakeSolidShells(std
Standard_EXPORT Handle(GEOM_Object)
MakeCompound(std
Standard_EXPORT const
Standard_Real 
theTolerance
Standard_EXPORT Handle(GEOM_Object)
MakeFaceWires(std
Standard_EXPORT Handle(GEOM_Object)
MakeShell(std Standard_EXPORT
Handle(GEOM_Object)
MakeSolidShells(std
Standard_EXPORT Handle(GEOM_Object)
MakeCompound(std
Standard_EXPORT const
Standard_Real const
Standard_Boolean 
doKeepNonSolids
Standard_EXPORT const Standard_Real theTolerance
Standard_EXPORT const
Standard_Real std::list
< Handle(GEOM_Object)> 
theFaces
Standard_EXPORT const
Standard_Real std::list
< Handle(GEOM_Object)> const
Standard_Boolean 
doKeepNonSolids
Standard_EXPORT const
Standard_Real std::list
< Handle(GEOM_Object)> const
Standard_Boolean const
Standard_Boolean 
doGlueAllEdges
Standard_EXPORT const
Standard_Real const
TopAbs_ShapeEnum 
theType
Standard_EXPORT const
Standard_Real std::list
< Handle(GEOM_Object)> 
theEdges
Standard_EXPORT const
Standard_Boolean 
theGroupsOnly
Standard_EXPORT const
Standard_Integer 
theShapeType
Standard_EXPORT const
Standard_Integer const
Standard_Boolean 
isSorted
Standard_EXPORT const
Standard_Integer const
Standard_Boolean const
ExplodeType 
theExplodeType = EXPLODE_NEW_INCLUDE_MAIN)
Standard_EXPORT const
Standard_Integer 
theID
Standard_EXPORT Handle(TColStd_HSequenceOfTransient)
GetSharedShapes(std
Standard_EXPORT const
Standard_Integer 
theShapeType
Standard_EXPORT Handle(TColStd_HSequenceOfTransient)
GetSharedShapes(std
Standard_EXPORT const
Standard_Integer const const
GEOMAlgo_State 
theState
Standard_EXPORT const
Standard_Integer const const
const GEOMAlgo_State 
theState
Standard_EXPORT const
Standard_Integer const const
Standard_Real 
theRadius
Standard_EXPORT const
Standard_Integer const const
Standard_Real const
GEOMAlgo_State 
theState
Standard_EXPORT const
Standard_Integer const const
const Standard_Real 
theRadius
Standard_EXPORT const
Standard_Integer const const
const Standard_Real const
GEOMAlgo_State 
theState
Standard_EXPORT const
Standard_Integer const const
GEOMAlgo_State 
theState
Standard_EXPORT const
Standard_Integer const const
const const const
GEOMAlgo_State 
theState
Standard_EXPORT const
Standard_Integer const
Standard_Real 
theRadius
Standard_EXPORT const const
Standard_Integer 
theShapeType
Standard_EXPORT const const
Standard_Integer
GEOMAlgo_State 
theState

Private Member Functions

 Handle (Geom_Surface) makePlane(const TopoDS_Shape &theAx1)
 Creates Geom_Plane.
 Handle (Geom_Surface) makeCylinder(const TopoDS_Shape &theAx1
 Creates Geom_CylindricalSurface.
 Handle (TColStd_HSequenceOfInteger) getShapesOnSurfaceIDs(const Handle(Geom_Surface)&theSurface
 Find IDs of subshapes complying with given status about surface.
 Handle (TColStd_HSequenceOfTransient) getShapesOnSurface(const Handle(Geom_Surface)&theSurface
 Find subshapes complying with given status about surface.
const Handle (GEOM_Object)&theShape
 Handle (TColStd_HSequenceOfInteger) getShapesOnQuadrangleIDs(const Handle(GEOM_Object)&theShape
 Find IDs of subshapes complying with given status about quadrangle.
const Standard_Integer const Handle (GEOM_Object)&theTopLeftPoint
const Standard_Integer const const Handle (GEOM_Object)&theTopRigthPoint
const Standard_Integer const
const const 
Handle (GEOM_Object)&theBottomLeftPoint
const Standard_Integer const
const const const 
Handle (GEOM_Object)&theBottomRigthPoint
 Handle (TColStd_HSequenceOfInteger) getShapesOnBoxIDs(const Handle(GEOM_Object)&theBox
 Find IDs of subshapes complying with given status about surface.
const Handle (GEOM_Object)&theShape
 Handle (TColStd_HSequenceOfInteger) getShapesOnShapeIDs(const Handle(GEOM_Object)&theCheckShape
 Find IDs of subshapes complying with given status about surface.
const Handle (GEOM_Object)&theShape
 Handle (TColStd_HSequenceOfTransient) getObjectsShapesOn(const Handle(GEOM_Object)&theShape
 Find shape objects and their entries by their ids.
const Handle (TColStd_HSequenceOfInteger)&theShapeIDs
static const Handle (GEOM_Object)&theObj2)

Static Private Member Functions

static Handle (GEOM_Object) getCreatedLast(const Handle(GEOM_Object)&theObj1
 Select the object created last.

Private Attributes

const Standard_Real theRadius
const TopoDS_Shape & theShape
const TopoDS_Shape TopAbs_ShapeEnum theShapeType
const TopoDS_Shape
TopAbs_ShapeEnum
GEOMAlgo_State 
theState
const TopAbs_ShapeEnum theShapeType
const TopAbs_ShapeEnum
GEOMAlgo_State 
theState
const TopAbs_ShapeEnum
GEOMAlgo_State
TCollection_AsciiString & 
theShapeEntries
const Standard_Integer theShapeType
const Standard_Integer const
const const const const
GEOMAlgo_State 
theState
const const Standard_Integer theShapeType
const const Standard_Integer
GEOMAlgo_State 
theState
const TCollection_AsciiString & theShapeEntries

Member Enumeration Documentation

Enumerator:
EXPLODE_OLD_INCLUDE_MAIN 
EXPLODE_NEW_INCLUDE_MAIN 
EXPLODE_NEW_EXCLUDE_MAIN 

Constructor & Destructor Documentation

GEOMImpl_IShapesOperations::GEOMImpl_IShapesOperations ( GEOM_Engine theEngine,
int  theDocID 
)

constructor:

GEOMImpl_IShapesOperations::~GEOMImpl_IShapesOperations ( )

destructor


Member Function Documentation

Standard_EXPORT GEOMImpl_IShapesOperations::Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT const Standard_Real GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfTransient  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfTransient  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfTransient  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfInteger  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfTransient  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HArray1OfInteger  )
Standard_Integer GEOMImpl_IShapesOperations::GetSubShapeIndex ( Handle(GEOM_Object theMainShape,
Handle(GEOM_Object theSubShape 
)
Standard_Integer GEOMImpl_IShapesOperations::GetTopologyIndex ( Handle(GEOM_Object theMainShape,
Handle(GEOM_Object theSubShape 
)

GetTopologyIndex

References GEOM_Object.GetValue(), and GEOM_IOperations.SetErrorCode().

TCollection_AsciiString GEOMImpl_IShapesOperations::GetShapeTypeString ( Handle(GEOM_Object theShape)

GetShapeTypeString

References GEOM_Object.GetValue(), and GEOM_IOperations.SetErrorCode().

Standard_Integer GEOMImpl_IShapesOperations::NumberOfSubShapes ( Handle(GEOM_Object theShape,
const Standard_Integer  theShapeType 
)

NumberOfSubShapes

References GEOM_Object.GetValue(), and Handle().

Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfInteger  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfTransient  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations::Handle ( TColStd_HSequenceOfTransient  ) const
Standard_EXPORT const Standard_Integer const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT const Standard_Integer const const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfTransient  ) const
Standard_EXPORT const Standard_Integer const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfTransient  ) const
Standard_EXPORT const Standard_Integer const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT const Standard_Integer const const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfTransient  ) const
Standard_EXPORT const Standard_Integer const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfInteger  ) const
Standard_EXPORT const Standard_Integer const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfInteger  ) const
Standard_EXPORT const Standard_Integer const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT const Standard_Integer const const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfInteger  ) const
Standard_EXPORT const Standard_Integer const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfInteger  ) const
Standard_EXPORT const Standard_Integer const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT const Standard_Integer const const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfInteger  ) const
Standard_EXPORT const Standard_Integer const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfTransient  ) const
Parameters:
theShape- the shape to explore
theShapeType- type of subshape of theShape
theTopLeftPoint- top left quadrangle corner
theTopRigthPoint- top right quadrangle corner
theBottomLeftPoint- bottom left quadrangle corner
theBottomRigthPoint- bottom right quadrangle corner
theState- required state
Return values:
Handle(TColStd_HSequenceOfInteger)- IDs of found subshapes
Standard_EXPORT const Standard_Integer const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT const Standard_Integer const const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT const Standard_Integer const const const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT const Standard_Integer const const const const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfInteger  ) const
Parameters:
theShape- the shape to explore
theShapeType- type of subshape of theShape
theTopLeftPoint- top left quadrangle corner
theTopRigthPoint- top right quadrangle corner
theBottomLeftPoint- bottom left quadrangle corner
theBottomRigthPoint- bottom right quadrangle corner
theState- required state
Return values:
Handle(TColStd_HSequenceOfInteger)- IDs of found subshapes
Standard_EXPORT const Standard_Integer const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT const Standard_Integer const const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT const Standard_Integer const const const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT const Standard_Integer const const const const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT const Standard_Integer GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT const Standard_Integer GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
void GEOMImpl_IShapesOperations::GetShapeProperties ( const TopoDS_Shape  aShape,
Standard_Real  tab[],
gp_Pnt &  aVertex 
)

GetShapeProperties

Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( GEOM_Object  ) const
Parameters:
theShapeWhere- a context shap
theShapeWhat- a sample shape
Return values:
Handle(GEOM_Object)- found shape
Standard_EXPORT const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfInteger  ) const
Parameters:
theBox- the box to check state of subshapes against
theShape- the shape to explore
theShapeType- type of subshape of theShape
theState- required state
Return values:
Handle(TColStd_HSequenceOfInteger)- IDs of found subshapes
Standard_EXPORT const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfTransient  ) const
Parameters:
theBox- the box to check state of subshapes against
theShape- the shape to explore
theShapeType- type of subshape of theShape
theState- required state
Return values:
Handle(TColStd_HSequenceOfTransient)- found shape objects
Standard_EXPORT const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfInteger  ) const
Parameters:
theCheckShape- the shape to check state of subshapes against
theShape- the shape to explore
theShapeType- type of subshape of theShape
theState- required state
Return values:
Handle(TColStd_HSequenceOfInteger)- IDs of found subshapes
Standard_EXPORT const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfTransient  ) const
Parameters:
theCheckShape- the shape to check state of subshapes against
theShape- the shape to explore
theShapeType- type of subshape of theShape
theState- required state
Return values:
Handle(TColStd_HSequenceOfTransient)- found shape objects
Standard_EXPORT const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
Standard_EXPORT GEOMImpl_IShapesOperations.Handle ( GEOM_Object  ) const
Standard_EXPORT const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  )
void GEOMImpl_IShapesOperations::SortShapes ( TopTools_ListOfShape &  SL,
const Standard_Boolean  isOldSorting = Standard_True 
) [static]
TopoDS_Shape GEOMImpl_IShapesOperations::CompsolidToCompound ( const TopoDS_Shape &  theCompsolid) [static]

If the argument shape is not of type TopoDS_COMPSOLID, this method returns it as is.

Parameters:
theCompsolidThe compsolid to be converted.
Return values:
TopoDS_ShapeReturns the resulting compound.
bool GEOMImpl_IShapesOperations::CheckTriangulation ( const TopoDS_Shape &  theShape) [static]
Parameters:
theShapeThe shape to check/build triangulation on.
Return values:
boolReturns false if the shape has no faces, i.e. impossible to build triangulation.

References Handle().

TopAbs_ShapeEnum GEOMImpl_IShapesOperations::GetTypeOfSimplePart ( const TopoDS_Shape &  theShape) [static]

Return type of shape for explode. In case of compound it will be a type of sub shape.

Parameters:
theShapeThe shape to get type of.
Return values:
TopAbs_ShapeEnumReturn type of shape for explode.
GEOMImpl_IShapesOperations.Handle ( Geom_Surface  ) const [private]
Parameters:
theAx1- edge defining plane normal
Return values:
Handle(Geom_Surface)- resulting surface
GEOMImpl_IShapesOperations.Handle ( Geom_Surface  ) const [private]
Parameters:
theAx1- edge defining cylinder axis
theRadius- cylinder radius
Return values:
Handle(Geom_Surface)- resulting surface
GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfInteger  ) const [private]
Parameters:
theSurface- the surface to check state of subshapes against
theShape- the shape to explore
theShapeType- type of subshape of theShape
theState- required state
Return values:
Handle(TColStd_HSequenceOfInteger)- IDs of found subshapes
GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfTransient  ) const [private]
Parameters:
theSurface- the surface to check state of subshapes against
theShape- the shape to explore
theShapeType- type of subshape of theShape
theState- required state
theShapeEntries- outgoing entries like "entry1, entry2, ..."
Return values:
Handle(TColStd_HSequenceOfTransient)- found shape objects
const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  ) [private]
GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfInteger  ) const [private]
Parameters:
theShape- the shape to explore
theShapeType- type of subshape of theShape
theTopLeftPoint- top left quadrangle corner
theTopRigthPoint- top right quadrangle corner
theBottomLeftPoint- bottom left quadrangle corner
theBottomRigthPoint- bottom right quadrangle corner
theState- required state
Return values:
Handle(TColStd_HSequenceOfInteger)- IDs of found subshapes
const Standard_Integer const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  ) [private]
const Standard_Integer const const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  ) [private]
const Standard_Integer const const const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  ) [private]
const Standard_Integer const const const const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  ) [private]
GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfInteger  ) const [private]
Parameters:
theBox- the box to check state of subshapes against
theShape- the shape to explore
theShapeType- type of subshape of theShape
theState- required state
Return values:
Handle(TColStd_HSequenceOfInteger)- IDs of found subshapes
const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  ) [private]
GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfInteger  ) const [private]
Parameters:
theCheckShape- the shape to check state of subshapes against
theShape- the shape to explore
theShapeType- type of subshape of theShape
theState- required state
Return values:
Handle(TColStd_HSequenceOfInteger)- IDs of found subshapes
const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  ) [private]
GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfTransient  ) const [private]
Parameters:
theShape- the main shape
theShapeIDs- theShapeIDs - incoming shape ids
theShapeEntries- outgoing entries like "entry1, entry2, ..."
Return values:
Handle(TColStd_HSequenceOfTransient)- found shape objects
const GEOMImpl_IShapesOperations.Handle ( TColStd_HSequenceOfInteger  ) [private]
static GEOMImpl_IShapesOperations.Handle ( GEOM_Object  ) const [static, private]
Parameters:
theObj1- Object 1
theObj2- Object 2
Return values:
Handle(GEOM_Object)- selected object
static const GEOMImpl_IShapesOperations.Handle ( GEOM_Object  ) [private]
void GEOM_IOperations::StartOperation ( ) [inherited]

StartOperation

References GEOM_IOperations._docID, GEOM_IOperations._engine, and Handle().

void GEOM_IOperations::FinishOperation ( ) [inherited]

FinishOperation

References GEOM_IOperations._docID, GEOM_IOperations._engine, and Handle().

void GEOM_IOperations::AbortOperation ( ) [inherited]

AbortOperation

References GEOM_IOperations._docID, GEOM_IOperations._engine, and Handle().

bool GEOM_IOperations::IsDone ( ) [inherited]

IsDone

References GEOM_IOperations._errorCode, and OK.

Standard_EXPORT void GEOM_IOperations.SetNotDone ( ) [inherited]

References GEOM_IOperations._errorCode, and KO.

Standard_EXPORT void GEOM_IOperations.SetErrorCode ( const TCollection_AsciiString &  theErrorCode) [inherited]
Standard_EXPORT char* GEOM_IOperations.GetErrorCode ( ) [inherited]
Standard_EXPORT GEOM_Engine* GEOM_IOperations.GetEngine ( ) [inherited]
Standard_EXPORT GEOM_Solver* GEOM_IOperations.GetSolver ( ) [inherited]
Standard_EXPORT int GEOM_IOperations.GetDocID ( ) [inherited]

Field Documentation

Standard_EXPORT const Standard_Real GEOMImpl_IShapesOperations.theLength
Standard_EXPORT const Standard_Real GEOMImpl_IShapesOperations.theLinearTolerance
Standard_EXPORT const Standard_Real const Standard_Real GEOMImpl_IShapesOperations.theAngularTolerance
Standard_EXPORT Handle (GEOM_Object) MakeWire (std Standard_EXPORT const bool GEOMImpl_IShapesOperations.isPlanarWanted
Standard_EXPORT const Standard_Real GEOMImpl_IShapesOperations::theTolerance
Standard_EXPORT Handle (GEOM_Object) MakeFaceWires (std Standard_EXPORT Handle (GEOM_Object) MakeShell (std Standard_EXPORT Handle (GEOM_Object) MakeSolidShells (std Standard_EXPORT Handle (GEOM_Object) MakeCompound (std Standard_EXPORT const Standard_Real const Standard_Boolean GEOMImpl_IShapesOperations.doKeepNonSolids
Standard_EXPORT const Standard_Real GEOMImpl_IShapesOperations.theTolerance
Standard_EXPORT const Standard_Real std::list<Handle(GEOM_Object)> GEOMImpl_IShapesOperations.theFaces
Standard_EXPORT const Standard_Real std::list<Handle(GEOM_Object)> const Standard_Boolean GEOMImpl_IShapesOperations.doKeepNonSolids
Standard_EXPORT const Standard_Real std::list<Handle(GEOM_Object)> const Standard_Boolean const Standard_Boolean GEOMImpl_IShapesOperations.doGlueAllEdges
Standard_EXPORT const Standard_Real const TopAbs_ShapeEnum GEOMImpl_IShapesOperations.theType
Standard_EXPORT const Standard_Real std::list<Handle(GEOM_Object)> GEOMImpl_IShapesOperations.theEdges
Standard_EXPORT const Standard_Boolean GEOMImpl_IShapesOperations.theGroupsOnly
const const Standard_Integer GEOMImpl_IShapesOperations::theShapeType
Standard_EXPORT const Standard_Integer const Standard_Boolean GEOMImpl_IShapesOperations::isSorted
Standard_EXPORT const Standard_Integer const Standard_Boolean const ExplodeType GEOMImpl_IShapesOperations::theExplodeType = EXPLODE_NEW_INCLUDE_MAIN)
Standard_EXPORT const Standard_Integer GEOMImpl_IShapesOperations.theID
Standard_EXPORT Handle (TColStd_HSequenceOfTransient) GetSharedShapes (std Standard_EXPORT const Standard_Integer GEOMImpl_IShapesOperations.theShapeType
Standard_EXPORT const Standard_Integer const const const GEOMAlgo_State GEOMImpl_IShapesOperations.theState
Standard_EXPORT const Standard_Integer const Standard_Real GEOMImpl_IShapesOperations::theRadius
Standard_EXPORT const Standard_Integer const const Standard_Real const GEOMAlgo_State GEOMImpl_IShapesOperations.theState
Standard_EXPORT const Standard_Integer const const const Standard_Real GEOMImpl_IShapesOperations.theRadius
Standard_EXPORT const Standard_Integer const const const Standard_Real const GEOMAlgo_State GEOMImpl_IShapesOperations.theState
Standard_EXPORT const Standard_Integer const const GEOMAlgo_State GEOMImpl_IShapesOperations.theState
Standard_EXPORT const Standard_Integer const const const const const GEOMAlgo_State GEOMImpl_IShapesOperations.theState
Standard_EXPORT const Standard_Integer const Standard_Real GEOMImpl_IShapesOperations.theRadius
Standard_EXPORT const const Standard_Integer GEOMImpl_IShapesOperations.theShapeType
Standard_EXPORT const const Standard_Integer GEOMAlgo_State GEOMImpl_IShapesOperations.theState
const Standard_Real GEOMImpl_IShapesOperations.theRadius [private]
const TopoDS_Shape& GEOMImpl_IShapesOperations.theShape [private]
const TopoDS_Shape TopAbs_ShapeEnum GEOMImpl_IShapesOperations.theShapeType [private]
const TopoDS_Shape TopAbs_ShapeEnum GEOMAlgo_State GEOMImpl_IShapesOperations.theState [private]
const TopAbs_ShapeEnum GEOMImpl_IShapesOperations.theShapeType [private]
const TopAbs_ShapeEnum GEOMAlgo_State GEOMImpl_IShapesOperations.theState [private]
const TopAbs_ShapeEnum GEOMAlgo_State TCollection_AsciiString& GEOMImpl_IShapesOperations.theShapeEntries [private]
const Standard_Integer GEOMImpl_IShapesOperations.theShapeType [private]
const Standard_Integer const const const const const GEOMAlgo_State GEOMImpl_IShapesOperations.theState [private]
const const Standard_Integer GEOMImpl_IShapesOperations.theShapeType [private]
const const Standard_Integer GEOMAlgo_State GEOMImpl_IShapesOperations.theState [private]
const TCollection_AsciiString& GEOMImpl_IShapesOperations.theShapeEntries [private]
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS