Version: 9.12.0
GEOM Namespace Reference

Classes

class  TPythonDump
 
class  GenericObjPtr
 A smart pointer for the SALOME GenericObj interface. More...
 
interface  IAdvancedOperations
 Interface for advanced modeling functions. More...
 
interface  IBREPOperations
 Interface for BREPPlugin modeling functions. More...
 
struct  Parameter
 Object creation parameters. More...
 
struct  CreationInformation
 
struct  ModifInfo
 Reporting on shape healing. More...
 
interface  GEOM_BaseObject
 A common root of objects in GEOM module. More...
 
interface  GEOM_Object
 Interface of geometric object. More...
 
interface  GEOM_Field
 Interface of the field. More...
 
interface  GEOM_FieldStep
 Interface of the field time step. More...
 
interface  GEOM_BoolFieldStep
 Interface of the boolean field time step. More...
 
interface  GEOM_IntFieldStep
 Interface of the integer field time step. More...
 
interface  GEOM_DoubleFieldStep
 Interface of the double field time step. More...
 
interface  GEOM_StringFieldStep
 Interface of the string field time step. More...
 
interface  GEOM_IOperations
 Basic methods of all geometric operations. More...
 
interface  GEOM_IBasicOperations
 Interface for basic geometry creation. More...
 
interface  GEOM_ITransformOperations
 Interface for shapes transforming. More...
 
interface  GEOM_I3DPrimOperations
 Interface for 3D primitives creation. More...
 
interface  GEOM_IShapesOperations
 Interface for Shapes creation: More...
 
interface  GEOM_IBlocksOperations
 Interface for Blocks construction Face from points or edges, Block from faces, Blocks multi-translation and multi-rotation. More...
 
interface  GEOM_IBooleanOperations
 Interface for boolean operations (Cut, Fuse, Common) More...
 
interface  GEOM_ICurvesOperations
 Interface for curves creation. More...
 
interface  GEOM_ILocalOperations
 Interface for fillet and chamfer creation. More...
 
interface  GEOM_IHealingOperations
 Interface for shape healing operations. More...
 
interface  GEOM_IInsertOperations
 Interface for shape insert operations (like copy, import). More...
 
interface  GEOM_IKindOfShape
 Interface for shape_kind enumeration. More...
 
interface  GEOM_IMeasureOperations
 Interface for measurement (distance, whatis) and properties calculation (like Centre of Mass, Inertia, etc.). More...
 
interface  GEOM_IGroupOperations
 Interface for groups creation. More...
 
interface  GEOM_IFieldOperations
 Interface for field operation. More...
 
interface  GEOM_ITestOperations
 Interface for testing operations. More...
 
interface  GEOM_ICanonicalRecognition
 Interface for canonical recognition operations. More...
 
interface  GEOM_Gen
 Interface to access other GEOM interfaces. More...
 
interface  GEOM_List
 
interface  GEOM_Superv
 
interface  IIGESOperations
 Interface for IGESPlugin modeling functions. More...
 
interface  ISTEPOperations
 Interface for STEPPlugin modeling functions. More...
 
interface  ISTLOperations
 Interface for STLPlugin modeling functions. More...
 
interface  IVTKOperations
 Interface for VTKPlugin modeling functions. More...
 
interface  IXAOOperations
 Interface for XAOPlugin modeling functions. More...
 

Typedefs

typedef SALOME::GenericObj_wrap< GEOM_BasicObject > GEOM_BaseObject_wrap
 
typedef SALOME::GenericObj_wrap< GEOM_ObjectGEOM_Object_wrap
 
typedef SALOME::GenericObj_wrap< GEOM_FieldGEOM_Field_wrap
 
typedef SALOME::GenericObj_wrap< GEOM_FieldStepGEOM_FieldStep_wrap
 
typedef SALOME::GenericObj_wrap< GEOM_IBasicOperationsGEOM_IBasicOperations_wrap
 
typedef SALOME::GenericObj_wrap< GEOM_ITransformOperationsGEOM_ITransformOperations_wrap
 
typedef SALOME::GenericObj_wrap< GEOM_I3DPrimOperationsGEOM_I3DPrimOperations_wrap
 
typedef SALOME::GenericObj_wrap< GEOM_IShapesOperationsGEOM_IShapesOperations_wrap
 
typedef SALOME::GenericObj_wrap< GEOM_IBlocksOperationsGEOM_IBlocksOperations_wrap
 
typedef SALOME::GenericObj_wrap< GEOM_IBooleanOperationsGEOM_IBooleanOperations_wrap
 
typedef SALOME::GenericObj_wrap< GEOM_ICurvesOperationsGEOM_ICurvesOperations_wrap
 
typedef SALOME::GenericObj_wrap< GEOM_ILocalOperationsGEOM_ILocalOperations_wrap
 
typedef SALOME::GenericObj_wrap< GEOM_IHealingOperationsGEOM_IHealingOperations_wrap
 
typedef SALOME::GenericObj_wrap< GEOM_IInsertOperationsGEOM_IInsertOperations_wrap
 
typedef SALOME::GenericObj_wrap< GEOM_IMeasureOperationsGEOM_IMeasureOperations_wrap
 
typedef SALOME::GenericObj_wrap< GEOM_IGroupOperationsGEOM_IGroupOperations_wrap
 
typedef SALOME::GenericObj_wrap< GEOM_IFieldOperationsGEOM_IFieldOperations_wrap
 
typedef GenericObjPtr< GEOM::GEOM_ObjectGeomObjPtr
 
typedef GenericObjPtr< GEOM::GEOM_FieldGeomFieldPtr
 
typedef GenericObjPtr< GEOM::GEOM_IBasicOperationsBasicOpPtr
 
typedef GenericObjPtr< GEOM::GEOM_ITransformOperationsTransformOpPtr
 
typedef GenericObjPtr< GEOM::GEOM_I3DPrimOperationsI3DPrimOpPtr
 
typedef GenericObjPtr< GEOM::GEOM_IShapesOperationsShapesOpPtr
 
typedef GenericObjPtr< GEOM::GEOM_IBlocksOperationsBlocksOpPtr
 
typedef GenericObjPtr< GEOM::GEOM_IBooleanOperationsBooleanOpPtr
 
typedef GenericObjPtr< GEOM::GEOM_ICurvesOperationsCurvesOpPtr
 
typedef GenericObjPtr< GEOM::GEOM_ILocalOperationsLocalOpPtr
 
typedef GenericObjPtr< GEOM::GEOM_IHealingOperationsHealingOpPtr
 
typedef GenericObjPtr< GEOM::GEOM_IInsertOperationsInsertOpPtr
 
typedef GenericObjPtr< GEOM::GEOM_IMeasureOperationsMeasureOpPtr
 
typedef GenericObjPtr< GEOM::GEOM_IGroupOperationsGroupOpPtr
 
typedef sequence< ParameterParameters
 
typedef sequence< CreationInformationCreationInformationSeq
 
typedef sequence< ModifInfoModifStatistics
 
typedef sequence< string > string_array
 
typedef sequence< short > short_array
 
typedef sequence< boolean > ListOfBool
 
typedef sequence< long > ListOfLong
 
typedef sequence< double > ListOfDouble
 
typedef sequence< ListOfDoubleListOfListOfDouble
 
typedef sequence< ListOfLongListOfListOfLong
 
typedef sequence< GEOM_ObjectListOfGO
 
typedef sequence< GEOM_BaseObjectListOfGBO
 
typedef sequence< GEOM_FieldListOfFields
 
typedef sequence< SALOMEDS::SObject > object_list
 

Enumerations

enum  Property {
  Visibility , Transparency , DisplayMode , NbIsos ,
  Color , EdgesDirection , Vertices , ShowName ,
  Deflection , PointMarker , Material , LineWidth ,
  IsosWidth , TopLevel , LastStudyProperty = TopLevel , Opacity ,
  ShadingColor , WireframeColor , LineColor , FreeBndColor ,
  PointColor , IsosColor , OutlineColor , Texture ,
  Dimensions , ShapeAnnotations , LastProperty = ShapeAnnotations
}
 
enum  pattern { SQUARE , HEXAGON }
 Pattern for block division of the disk. More...
 
enum  shape_type {
  COMPOUND , COMPSOLID , SOLID , SHELL ,
  FACE , WIRE , EDGE , VERTEX ,
  SHAPE , FLAT
}
 Topological types of shapes (like Open Cascade types) More...
 
enum  marker_type {
  MT_NONE , MT_POINT , MT_PLUS , MT_STAR ,
  MT_X , MT_O , MT_O_POINT , MT_O_PLUS ,
  MT_O_STAR , MT_O_X , MT_RING1 , MT_RING2 ,
  MT_RING3 , MT_BALL , MT_USER
}
 Marker type. More...
 
enum  marker_size {
  MS_NONE , MS_10 , MS_15 , MS_20 ,
  MS_25 , MS_30 , MS_35 , MS_40 ,
  MS_45 , MS_50 , MS_55 , MS_60 ,
  MS_65 , MS_70
}
 
enum  shape_state {
  ST_ON , ST_OUT , ST_ONOUT , ST_IN ,
  ST_ONIN
}
 State of shape relatively geometrical surface like plane, sphere or cylinder. More...
 
enum  find_shape_method {
  FSM_GetInPlace , FSM_Transformed , FSM_GetSame , FSM_GetShapesOnShape ,
  FSM_GetInPlaceByHistory , FSM_MultiTransformed , FSM_GetInPlace_Old
}
 Kind of method to find inside one main shape some sub-shapes, corresponding to other given shape (its argument) More...
 
enum  filling_oper_method { FOM_Default , FOM_UseOri , FOM_AutoCorrect }
 Kind of method to perform filling operation. More...
 
enum  curve_type { Polyline , Bezier , Interpolation }
 Kind of the curves. More...
 
enum  field_data_type { FDT_Bool , FDT_Int , FDT_Double , FDT_String }
 Type of field data. More...
 
enum  si_check_level {
  SI_V_V , 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...
 
enum  comparison_condition { CC_GT , CC_GE , CC_LT , CC_LE }
 This enumeration represents comparison conditions. More...
 
enum  length_unit {
  LU_INCH , LU_MILLIMETER , LU_FOOT , LU_MILE ,
  LU_METER , LU_KILOMETER , LU_MILLIINCH , LU_MICROMETER ,
  LU_CENTIMETER , LU_MICROINCH
}
 Units of length. More...
 

Functions

 Handle (GEOM_BaseObject) GetCreatedLast(const Handle(Standard_Transient) &theObj1
 
const Handle (Standard_Transient) &theObj2)
 
Standard_EXPORT Handle (::GEOM_BaseObject) GetCreatedLast(const Handle(Standard_Transient) &theObj1
 
double minDeflection ()
 Get minimal allowed value for deflection coefficient. More...
 
QString sectionSeparator ()
 Get character used to separate parameter names. More...
 
QString subSectionSeparator ()
 Get character used to separate numeric parameter values (color = r:g:b) More...
 
QString propertyName (Property type)
 
int sharedPropertiesId ()
 Id used for storing properties of objects in study shared between viewers. More...
 
void ShapeToVTK (const TopoDS_Shape &theShape, const TopTools_IndexedDataMapOfShapeListOfShape &theEdgeMap, bool theIsVector, GEOM_VertexSource *theStandaloneVertexSource, GEOM_EdgeSource *theIsolatedEdgeSource, GEOM_EdgeSource *theOneFaceEdgeSource, GEOM_EdgeSource *theSharedEdgeSource, GEOM_WireframeFace *theWireframeFaceSource, GEOM_ShadingFace *theShadingFaceSource)
 Convert shape to the VTK data sources. More...
 
vtkPolyData * GetVTKData (const TopoDS_Shape &theShape, float theDeflection)
 Get VTK mesh data from the shape. More...
 

Typedef Documentation

◆ BasicOpPtr

◆ BlocksOpPtr

◆ BooleanOpPtr

◆ CreationInformationSeq

◆ CurvesOpPtr

◆ GEOM_BaseObject_wrap

typedef SALOME::GenericObj_wrap< GEOM_BasicObject > GEOM::GEOM_BaseObject_wrap

◆ GEOM_Field_wrap

typedef SALOME::GenericObj_wrap< GEOM_Field > GEOM::GEOM_Field_wrap

◆ GEOM_FieldStep_wrap

typedef SALOME::GenericObj_wrap< GEOM_FieldStep > GEOM::GEOM_FieldStep_wrap

◆ GEOM_I3DPrimOperations_wrap

typedef SALOME::GenericObj_wrap< GEOM_I3DPrimOperations > GEOM::GEOM_I3DPrimOperations_wrap

◆ GEOM_IBasicOperations_wrap

typedef SALOME::GenericObj_wrap< GEOM_IBasicOperations > GEOM::GEOM_IBasicOperations_wrap

◆ GEOM_IBlocksOperations_wrap

typedef SALOME::GenericObj_wrap< GEOM_IBlocksOperations > GEOM::GEOM_IBlocksOperations_wrap

◆ GEOM_IBooleanOperations_wrap

typedef SALOME::GenericObj_wrap< GEOM_IBooleanOperations > GEOM::GEOM_IBooleanOperations_wrap

◆ GEOM_ICurvesOperations_wrap

typedef SALOME::GenericObj_wrap< GEOM_ICurvesOperations > GEOM::GEOM_ICurvesOperations_wrap

◆ GEOM_IFieldOperations_wrap

typedef SALOME::GenericObj_wrap< GEOM_IFieldOperations > GEOM::GEOM_IFieldOperations_wrap

◆ GEOM_IGroupOperations_wrap

typedef SALOME::GenericObj_wrap< GEOM_IGroupOperations > GEOM::GEOM_IGroupOperations_wrap

◆ GEOM_IHealingOperations_wrap

typedef SALOME::GenericObj_wrap< GEOM_IHealingOperations > GEOM::GEOM_IHealingOperations_wrap

◆ GEOM_IInsertOperations_wrap

typedef SALOME::GenericObj_wrap< GEOM_IInsertOperations > GEOM::GEOM_IInsertOperations_wrap

◆ GEOM_ILocalOperations_wrap

typedef SALOME::GenericObj_wrap< GEOM_ILocalOperations > GEOM::GEOM_ILocalOperations_wrap

◆ GEOM_IMeasureOperations_wrap

typedef SALOME::GenericObj_wrap< GEOM_IMeasureOperations > GEOM::GEOM_IMeasureOperations_wrap

◆ GEOM_IShapesOperations_wrap

typedef SALOME::GenericObj_wrap< GEOM_IShapesOperations > GEOM::GEOM_IShapesOperations_wrap

◆ GEOM_ITransformOperations_wrap

◆ GEOM_Object_wrap

typedef SALOME::GenericObj_wrap< GEOM_Object > GEOM::GEOM_Object_wrap

◆ GeomFieldPtr

◆ GeomObjPtr

◆ GroupOpPtr

◆ HealingOpPtr

◆ I3DPrimOpPtr

◆ InsertOpPtr

◆ ListOfBool

typedef sequence<boolean> GEOM::ListOfBool

◆ ListOfDouble

typedef sequence<double> GEOM::ListOfDouble

◆ ListOfFields

typedef sequence<GEOM_Field> GEOM::ListOfFields

◆ ListOfGBO

typedef sequence<GEOM_BaseObject> GEOM::ListOfGBO

◆ ListOfGO

typedef sequence<GEOM_Object> GEOM::ListOfGO

◆ ListOfListOfDouble

◆ ListOfListOfLong

◆ ListOfLong

typedef sequence<long> GEOM::ListOfLong

◆ LocalOpPtr

◆ MeasureOpPtr

◆ ModifStatistics

typedef sequence<ModifInfo> GEOM::ModifStatistics

◆ object_list

typedef sequence<SALOMEDS::SObject> GEOM::object_list

◆ Parameters

typedef sequence<Parameter> GEOM::Parameters

◆ ShapesOpPtr

◆ short_array

typedef sequence<short> GEOM::short_array

◆ string_array

typedef sequence<string> GEOM::string_array

◆ TransformOpPtr

Enumeration Type Documentation

◆ comparison_condition

Enumerator
CC_GT 

Greater then.

CC_GE 

Greater then or equal to.

CC_LT 

Less then.

CC_LE 

Less then or equal to.

◆ curve_type

Used in the functions GEOM_ICurvesOperations.MakeCurveParametric(), GEOM_ICurvesOperations.MakeCurveParametricNew(), GEOM_ICurvesOperations.MakePolyline2D, GEOM_ICurvesOperations.MakePolyline2DOnPlane.

Enumerator
Polyline 

Polyline curve

Bezier 

Bezier curve

Interpolation 

Interpolation, curve

◆ field_data_type

Enumerator
FDT_Bool 
FDT_Int 
FDT_Double 
FDT_String 

◆ filling_oper_method

Is used in functions GEOM_I3DPrimOperations.MakeFilling()

Enumerator
FOM_Default 

Default (standard behaviour)

FOM_UseOri 

Use edges orientation - orientation of edges is used: if the edge is reversed, the curve from this edge is reversed before using it in the filling algorithm.

FOM_AutoCorrect 

Auto-correct edges orientation - changes the orientation of the curves using minimization of sum of distances between the end points of the edges.

◆ find_shape_method

Is used in functions GEOM_Gen.RestoreSubShapesO(), GEOM_Gen.RestoreSubShapesSO(), TransferNames()

Enumerator
FSM_GetInPlace 

Use GetInPlace functionality. Suits all cases, except transformations

FSM_Transformed 

To be used only for transformation result, to find sub-shapes of argument. Only this method can be used after transformation.

FSM_GetSame 

To find only shared sub-shapes, not modified by the operation

FSM_GetShapesOnShape 

Use GetShapesOnShape method (can work only on solids)

FSM_GetInPlaceByHistory 

Use GetInPlaceByHistory method (can work only after Partition)

FSM_MultiTransformed 

To be used only for multi-transformation result. Only this method can be used after multi-transformation.

FSM_GetInPlace_Old 

Use old GetInPlace functionality.

◆ length_unit

Enumerator
LU_INCH 
LU_MILLIMETER 
LU_FOOT 
LU_MILE 
LU_METER 
LU_KILOMETER 
LU_MILLIINCH 
LU_MICROMETER 
LU_CENTIMETER 
LU_MICROINCH 

◆ marker_size

/brief Marker size

Enumerator
MS_NONE 
MS_10 
MS_15 
MS_20 
MS_25 
MS_30 
MS_35 
MS_40 
MS_45 
MS_50 
MS_55 
MS_60 
MS_65 
MS_70 

◆ marker_type

Enumerator
MT_NONE 
MT_POINT 
MT_PLUS 
MT_STAR 
MT_X 
MT_O 
MT_O_POINT 
MT_O_PLUS 
MT_O_STAR 
MT_O_X 
MT_RING1 
MT_RING2 
MT_RING3 
MT_BALL 
MT_USER 

◆ pattern

Enumerator
SQUARE 

Square

HEXAGON 

Hexagon

◆ Property

Enumerator
Visibility 
Transparency 
DisplayMode 
NbIsos 
Color 
EdgesDirection 
Vertices 
ShowName 
Deflection 
PointMarker 
Material 
LineWidth 
IsosWidth 
TopLevel 
LastStudyProperty 
Opacity 
ShadingColor 
WireframeColor 
LineColor 
FreeBndColor 
PointColor 
IsosColor 
OutlineColor 
Texture 
Dimensions 
ShapeAnnotations 
LastProperty 

◆ shape_state

Is used in functions GEOM_IShapesOperations.GetShapesOn<xxx>()

Enumerator
ST_ON 

Shape is on surface

ST_OUT 

Shape is in the direction defined by the normal and not on surface. For plane it means above the plane, For sphere and cylinder it means outside of volume, bounded by the surface.

ST_ONOUT 

Shape is in the direction defined by the normal and on surface. ONOUT = ON || OUT

ST_IN 

Complementary to ONOUT. For plane it means below the plane, For sphere and cylinder it means inside the volume, bounded by the surface (beyond axis and surface for cylinder and beyond cented and surface for sphere).

ST_ONIN 

Complementary to OUT. ONIN = ON || IN

◆ shape_type

Enumerator
COMPOUND 

A collection of arbitrary shapes

COMPSOLID 

A collection of solids

SOLID 

A part of 3D space bound by a shell

SHELL 

A collection of faces connected by some edges of their wire boundaries

FACE 

Part of a plane (in 2D geometry) or a surface (in 3D geometry) bounded by a closed wire

WIRE 

A sequence of edges connected by their vertices

EDGE 

Edge, a shape corresponding to a curve, and bound by a vertex at each extremity

VERTEX 

A zero-dimensional shape corresponding to a point in geometry

SHAPE 

Arbitrary shape in a Compound (used for processing of Compounds in some operations)

FLAT 

Flat (top-level) contents of a Compound (used for processing of Compounds in some operations)

◆ si_check_level

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 

Function Documentation

◆ GetVTKData()

vtkPolyData * GEOM::GetVTKData ( const TopoDS_Shape &  theShape,
float  theDeflection 
)
Parameters
theShapeshape
theDeflectionrequested deflection coefficient
Returns
VTK data set

References GEOM_VertexSource::AddVertex(), GEOMUtils::MeshShape(), and ShapeToVTK().

◆ Handle() [1/3]

Standard_EXPORT GEOM::Handle ( ::GEOM_BaseObject  ) const &

Returns an object from two given, which has the latest entry

Returns an object from theObjects, which has the latest entry

◆ Handle() [2/3]

GEOM::Handle ( GEOM_BaseObject  ) const &

◆ Handle() [3/3]

Standard_EXPORT const GEOM::Handle ( Standard_Transient  ) &

References Handle().

◆ minDeflection()

double GEOM::minDeflection ( )

◆ propertyName()

QString GEOM::propertyName ( Property  type)

References LastProperty, and Visibility.

◆ sectionSeparator()

QString GEOM::sectionSeparator ( )

◆ ShapeToVTK()

void GEOM::ShapeToVTK ( const TopoDS_Shape &  theShape,
const TopTools_IndexedDataMapOfShapeListOfShape &  theEdgeMap,
bool  theIsVector,
GEOM_VertexSource theStandaloneVertexSource,
GEOM_EdgeSource theIsolatedEdgeSource,
GEOM_EdgeSource theOneFaceEdgeSource,
GEOM_EdgeSource theSharedEdgeSource,
GEOM_WireframeFace theWireframeFaceSource,
GEOM_ShadingFace theShadingFaceSource 
)
Parameters
theShapeshape
theEdgeMapemap that stores face-to-edge relations
theIsVectorboolean flag, when true causes generating additional dataset for edges orientation vectors
theStandaloneVertexSourceoutput standalone vertices data source
theIsolatedEdgeSourceoutput standalone edges data source
theOneFaceEdgeSourceoutput face edges data source
theSharedEdgeSourceoutput face shared edges data source
theWireframeFaceSourceoutput wireframe mode faces data source
theShadingFaceSourceoutput shading mode faces data source

References GEOM_EdgeSource::AddEdge(), and GEOM_VertexSource::AddVertex().

◆ sharedPropertiesId()

int GEOM::sharedPropertiesId ( )

◆ subSectionSeparator()

QString GEOM::subSectionSeparator ( )