mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2025-01-24 06:50:33 +05:00
Typo-fix by Kunda
http://www.salome-platform.org/forum/forum_9/625363577
This commit is contained in:
parent
0cd035c092
commit
bef7e3cbcd
@ -23,7 +23,7 @@ SALOME_CONFIGURE_FILE(doxyfile_tui.in doxyfile_tui)
|
|||||||
SALOME_CONFIGURE_FILE(static/header.html.in ${CMAKE_CURRENT_BINARY_DIR}/static/header.html)
|
SALOME_CONFIGURE_FILE(static/header.html.in ${CMAKE_CURRENT_BINARY_DIR}/static/header.html)
|
||||||
SALOME_CONFIGURE_FILE(static/header_py.html.in ${CMAKE_CURRENT_BINARY_DIR}/static/header_py.html)
|
SALOME_CONFIGURE_FILE(static/header_py.html.in ${CMAKE_CURRENT_BINARY_DIR}/static/header_py.html)
|
||||||
|
|
||||||
# Generate a temporary python file, needed for the genaration of the documentation
|
# Generate a temporary python file, needed for the generation of the documentation
|
||||||
# of the built-in Geometry plugins.
|
# of the built-in Geometry plugins.
|
||||||
SET(DOC_GEOM_PluginsList AdvancedGEOM STLPlugin BREPPlugin STEPPlugin IGESPlugin XAOPlugin)
|
SET(DOC_GEOM_PluginsList AdvancedGEOM STLPlugin BREPPlugin STEPPlugin IGESPlugin XAOPlugin)
|
||||||
IF(SALOME_GEOM_USE_VTK)
|
IF(SALOME_GEOM_USE_VTK)
|
||||||
|
@ -198,7 +198,7 @@ void BooleanGUI_Dialog::Init()
|
|||||||
mainFrame()->RadioButton1->setFocus();
|
mainFrame()->RadioButton1->setFocus();
|
||||||
|
|
||||||
globalSelection(GEOM_ALLSHAPES);
|
globalSelection(GEOM_ALLSHAPES);
|
||||||
//localSelection(TopAbs_SHAPE); // VSR 24/09/2015: dectivate local selection in BOP (CoTech decision)
|
//localSelection(TopAbs_SHAPE); // VSR 24/09/2015: deactivate local selection in BOP (CoTech decision)
|
||||||
|
|
||||||
myGroup->PushButton1->click();
|
myGroup->PushButton1->click();
|
||||||
resize(100,100);
|
resize(100,100);
|
||||||
@ -338,7 +338,7 @@ void BooleanGUI_Dialog::SetEditCurrentArgument()
|
|||||||
}
|
}
|
||||||
|
|
||||||
globalSelection(GEOM_ALLSHAPES);
|
globalSelection(GEOM_ALLSHAPES);
|
||||||
//localSelection(TopAbs_SHAPE); // VSR 24/09/2015: dectivate local selection in BOP (CoTech decision)
|
//localSelection(TopAbs_SHAPE); // VSR 24/09/2015: deactivate local selection in BOP (CoTech decision)
|
||||||
|
|
||||||
// enable line edit
|
// enable line edit
|
||||||
myEditCurrentArgument->setEnabled(true);
|
myEditCurrentArgument->setEnabled(true);
|
||||||
|
@ -261,7 +261,7 @@ Standard_Integer GEOMImpl_CopyDriver::transferData(Handle(TFunction_Logbook)& lo
|
|||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
/*!
|
/*!
|
||||||
* \brief For each subshape of the source shape compute coinsident sub-shapes
|
* \brief For each subshape of the source shape compute coincident sub-shapes
|
||||||
* of the destination shape using GetInPlace method.
|
* of the destination shape using GetInPlace method.
|
||||||
*/
|
*/
|
||||||
//================================================================================
|
//================================================================================
|
||||||
@ -320,7 +320,7 @@ Standard_Boolean GEOMImpl_CopyDriver::getInPlace
|
|||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
/*!
|
/*!
|
||||||
* \brief For each subshape of the source shape compute coinsident sub-shapes
|
* \brief For each subshape of the source shape compute coincident sub-shapes
|
||||||
* of the destination shape using an old implementation
|
* of the destination shape using an old implementation
|
||||||
* of GetInPlace algorithm.
|
* of GetInPlace algorithm.
|
||||||
*/
|
*/
|
||||||
@ -369,7 +369,7 @@ Standard_Boolean GEOMImpl_CopyDriver::getInPlaceOld
|
|||||||
|
|
||||||
//================================================================================
|
//================================================================================
|
||||||
/*!
|
/*!
|
||||||
* \brief For each subshape of the source shape compute coinsident sub-shapes
|
* \brief For each subshape of the source shape compute coincident sub-shapes
|
||||||
* of the destination shape using GetInPlaceByHistory algorithm.
|
* of the destination shape using GetInPlaceByHistory algorithm.
|
||||||
*/
|
*/
|
||||||
//================================================================================
|
//================================================================================
|
||||||
|
@ -29,7 +29,7 @@
|
|||||||
#include "GEOM_Function.hxx"
|
#include "GEOM_Function.hxx"
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Interface to data of analitically defined curve
|
* \brief Interface to data of analytically defined curve
|
||||||
*
|
*
|
||||||
* WARNING: this data co-exists with data of either GEOMImpl_IPolyline
|
* WARNING: this data co-exists with data of either GEOMImpl_IPolyline
|
||||||
* or GEOMImpl_ISpline
|
* or GEOMImpl_ISpline
|
||||||
|
@ -139,7 +139,7 @@ namespace
|
|||||||
* \brief Returns the vertex from theWhere shape that is coincident with
|
* \brief Returns the vertex from theWhere shape that is coincident with
|
||||||
* theVertex.
|
* theVertex.
|
||||||
*
|
*
|
||||||
* \param theWhere the shape where the coinsident vertex is searched.
|
* \param theWhere the shape where the coincident vertex is searched.
|
||||||
* \param theVertex the vertex to be searched.
|
* \param theVertex the vertex to be searched.
|
||||||
* \return the coincident vertex if it is found. Otherwise null object.
|
* \return the coincident vertex if it is found. Otherwise null object.
|
||||||
*/
|
*/
|
||||||
|
@ -699,7 +699,7 @@ static TopoDS_Shape RemoveFaces(const TopoDS_Shape &theShapeFrom,
|
|||||||
|
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
//function : makeSolid
|
//function : makeSolid
|
||||||
//purpose : auxilary for CreatePipeWithDifferentSections
|
//purpose : auxiliary for CreatePipeWithDifferentSections
|
||||||
//=======================================================================
|
//=======================================================================
|
||||||
Standard_Boolean makeSolid(
|
Standard_Boolean makeSolid(
|
||||||
BRepOffsetAPI_MakePipeShell aBuilder,
|
BRepOffsetAPI_MakePipeShell aBuilder,
|
||||||
@ -1794,7 +1794,7 @@ static TopoDS_Shape CreatePipeForShellSections(const TopoDS_Wire& aWirePath,
|
|||||||
TopTools_IndexedDataMapOfShapeListOfShape aMapEdgeFaces2;
|
TopTools_IndexedDataMapOfShapeListOfShape aMapEdgeFaces2;
|
||||||
TopExp::MapShapesAndAncestors(aShBase2, TopAbs_EDGE, TopAbs_FACE, aMapEdgeFaces2);
|
TopExp::MapShapesAndAncestors(aShBase2, TopAbs_EDGE, TopAbs_FACE, aMapEdgeFaces2);
|
||||||
|
|
||||||
// constuct map face->face
|
// construct map face->face
|
||||||
TopTools_IndexedDataMapOfShapeShape FF;
|
TopTools_IndexedDataMapOfShapeShape FF;
|
||||||
TopoDS_Shape FS1,FS2;
|
TopoDS_Shape FS1,FS2;
|
||||||
if (nbSubBases==0) {
|
if (nbSubBases==0) {
|
||||||
@ -2189,7 +2189,7 @@ static TopoDS_Shape CreatePipeShellsWithoutPath(GEOMImpl_IPipe* aCI)
|
|||||||
TopTools_IndexedDataMapOfShapeListOfShape aMapEdgeFaces2;
|
TopTools_IndexedDataMapOfShapeListOfShape aMapEdgeFaces2;
|
||||||
TopExp::MapShapesAndAncestors(aShBase2, TopAbs_EDGE, TopAbs_FACE, aMapEdgeFaces2);
|
TopExp::MapShapesAndAncestors(aShBase2, TopAbs_EDGE, TopAbs_FACE, aMapEdgeFaces2);
|
||||||
|
|
||||||
// constuct map face->face (and sub-shapes)
|
// construct map face->face (and sub-shapes)
|
||||||
TopTools_IndexedDataMapOfShapeShape FF;
|
TopTools_IndexedDataMapOfShapeShape FF;
|
||||||
//TopoDS_Shape FS1 = SecFs.Value(i), FS2 = SecFs.Value(i+1);
|
//TopoDS_Shape FS1 = SecFs.Value(i), FS2 = SecFs.Value(i+1);
|
||||||
TopoDS_Shape FS1, FS2;
|
TopoDS_Shape FS1, FS2;
|
||||||
|
@ -49,7 +49,7 @@ class GEOMIMPL_EXPORT GEOMImpl_PolylineDumper
|
|||||||
public:
|
public:
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This construcor initializes the object with 2D polyline creation
|
* This constructor initializes the object with 2D polyline creation
|
||||||
* parameters.
|
* parameters.
|
||||||
*
|
*
|
||||||
* \param theCoords the list of coordinates list. theCoordsList[0]
|
* \param theCoords the list of coordinates list. theCoordsList[0]
|
||||||
@ -71,7 +71,7 @@ public:
|
|||||||
const Handle(TColStd_HArray1OfReal) &thePlnCoords);
|
const Handle(TColStd_HArray1OfReal) &thePlnCoords);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This construcor initializes the object with 2D polyline creation
|
* This constructor initializes the object with 2D polyline creation
|
||||||
* parameters.
|
* parameters.
|
||||||
*
|
*
|
||||||
* \param theCoords the list of coordinates list. theCoordsList[0]
|
* \param theCoords the list of coordinates list. theCoordsList[0]
|
||||||
|
@ -1571,7 +1571,7 @@ TopoDS_Edge GEOMImpl_ShapeDriver::MakeEdgeFromWire(const TopoDS_Shape& aWire,
|
|||||||
const Standard_Real aTol = BRep_Tool::Tolerance(aVtx);
|
const Standard_Real aTol = BRep_Tool::Tolerance(aVtx);
|
||||||
|
|
||||||
if (aPFirst.IsEqual(aPnt, aTol)) {
|
if (aPFirst.IsEqual(aPnt, aTol)) {
|
||||||
// The coinsident vertex is found.
|
// The coincident vertex is found.
|
||||||
FirstVertex = aVtx;
|
FirstVertex = aVtx;
|
||||||
LastVertex = aVtx;
|
LastVertex = aVtx;
|
||||||
FirstVertex.Orientation(TopAbs_FORWARD);
|
FirstVertex.Orientation(TopAbs_FORWARD);
|
||||||
|
@ -130,7 +130,7 @@ GEOMToolsGUI_DeflectionDlg::GEOMToolsGUI_DeflectionDlg (QWidget* parent)
|
|||||||
connect(buttonCancel, SIGNAL(clicked()), this, SLOT(reject()));
|
connect(buttonCancel, SIGNAL(clicked()), this, SLOT(reject()));
|
||||||
connect(buttonHelp, SIGNAL(clicked()), this, SLOT(ClickOnHelp()));
|
connect(buttonHelp, SIGNAL(clicked()), this, SLOT(ClickOnHelp()));
|
||||||
|
|
||||||
// Move widget on the botton right corner of main widget
|
// Move widget on the bottom right corner of main widget
|
||||||
SUIT_Tools::centerWidget(this, parent);
|
SUIT_Tools::centerWidget(this, parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ GEOMToolsGUI_LineWidthDlg::GEOMToolsGUI_LineWidthDlg (QWidget* parent, const QSt
|
|||||||
connect(buttonCancel, SIGNAL(clicked()), this, SLOT(reject()));
|
connect(buttonCancel, SIGNAL(clicked()), this, SLOT(reject()));
|
||||||
connect(buttonHelp, SIGNAL(clicked()), this, SLOT(ClickOnHelp()));
|
connect(buttonHelp, SIGNAL(clicked()), this, SLOT(ClickOnHelp()));
|
||||||
|
|
||||||
// Move widget on the botton right corner of main widget
|
// Move widget on the bottom right corner of main widget
|
||||||
SUIT_Tools::centerWidget(this, parent);
|
SUIT_Tools::centerWidget(this, parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -130,7 +130,7 @@ GEOMToolsGUI_NbIsosDlg::GEOMToolsGUI_NbIsosDlg(QWidget* parent )
|
|||||||
connect(buttonCancel, SIGNAL(clicked()), this, SLOT(reject()));
|
connect(buttonCancel, SIGNAL(clicked()), this, SLOT(reject()));
|
||||||
connect(buttonHelp, SIGNAL(clicked()), this, SLOT(ClickOnHelp()));
|
connect(buttonHelp, SIGNAL(clicked()), this, SLOT(ClickOnHelp()));
|
||||||
|
|
||||||
/* Move widget on the botton right corner of main widget */
|
/* Move widget on the bottom right corner of main widget */
|
||||||
SUIT_Tools::centerWidget(this, parent);
|
SUIT_Tools::centerWidget(this, parent);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1280,7 +1280,7 @@ bool GEOMUtils::IsOpenPath(const TopoDS_Shape &theShape)
|
|||||||
const TopAbs_ShapeEnum aType = theShape.ShapeType();
|
const TopAbs_ShapeEnum aType = theShape.ShapeType();
|
||||||
|
|
||||||
if (aType == TopAbs_EDGE || aType == TopAbs_WIRE) {
|
if (aType == TopAbs_EDGE || aType == TopAbs_WIRE) {
|
||||||
// Check if path ends are coinsident.
|
// Check if path ends are coincident.
|
||||||
TopoDS_Vertex aV[2];
|
TopoDS_Vertex aV[2];
|
||||||
|
|
||||||
if (aType == TopAbs_EDGE) {
|
if (aType == TopAbs_EDGE) {
|
||||||
|
@ -44,7 +44,7 @@ MustFail = -1
|
|||||||
geompy = None
|
geompy = None
|
||||||
|
|
||||||
def CheckFieldCreation(shape, name, ftype, dimension, componentNames, nbFiOrMustFail=-1):
|
def CheckFieldCreation(shape, name, ftype, dimension, componentNames, nbFiOrMustFail=-1):
|
||||||
# WARNING: assure name uniquness to check geompy.GetField( shape, name )
|
# WARNING: assure name uniqueness to check geompy.GetField( shape, name )
|
||||||
try:
|
try:
|
||||||
field = geompy.CreateField(shape, name, ftype, dimension, componentNames)
|
field = geompy.CreateField(shape, name, ftype, dimension, componentNames)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
/*
|
/*
|
||||||
Class : GEOM_VTKTrihedron
|
Class : GEOM_VTKTrihedron
|
||||||
Description : Class for displaying axis of trihedron in VTK viewer.
|
Description : Class for displaying axis of trihedron in VTK viewer.
|
||||||
Placement of trihedron is chahged with SetPlacement() method
|
Placement of trihedron is changed with SetPlacement() method
|
||||||
*/
|
*/
|
||||||
class GEOM_VTKTrihedronAxis : public VTKViewer_Axis
|
class GEOM_VTKTrihedronAxis : public VTKViewer_Axis
|
||||||
{
|
{
|
||||||
@ -194,7 +194,7 @@ void GEOM_VTKTrihedronAxis::SetColor( const double theColor[ 3 ] )
|
|||||||
/*
|
/*
|
||||||
Class : GEOM_VTKTrihedron
|
Class : GEOM_VTKTrihedron
|
||||||
Description : Class for displaying trihedron of local CS in VTK viewer.
|
Description : Class for displaying trihedron of local CS in VTK viewer.
|
||||||
Placement of trihedron is chahged with SetPlacement() method
|
Placement of trihedron is changed with SetPlacement() method
|
||||||
*/
|
*/
|
||||||
|
|
||||||
vtkStandardNewMacro( GEOM_VTKTrihedron );
|
vtkStandardNewMacro( GEOM_VTKTrihedron );
|
||||||
|
@ -40,7 +40,7 @@ class vtkPolyDataMapper;
|
|||||||
/*
|
/*
|
||||||
Class : GEOM_VTKTrihedron
|
Class : GEOM_VTKTrihedron
|
||||||
Description : Class for displaying trihedron of local CS in VTK viewer.
|
Description : Class for displaying trihedron of local CS in VTK viewer.
|
||||||
Placement of trihedron is chahged with SetPlacement() method
|
Placement of trihedron is changed with SetPlacement() method
|
||||||
*/
|
*/
|
||||||
|
|
||||||
class GEOM_OBJECT_EXPORT GEOM_VTKTrihedron : public SALOME_Actor
|
class GEOM_OBJECT_EXPORT GEOM_VTKTrihedron : public SALOME_Actor
|
||||||
|
@ -37,7 +37,7 @@ namespace GEOM
|
|||||||
* \brief Convert shape to the VTK data sources
|
* \brief Convert shape to the VTK data sources
|
||||||
* \param theShape shape
|
* \param theShape shape
|
||||||
* \param theEdgeMape map that stores face-to-edge relations
|
* \param theEdgeMape map that stores face-to-edge relations
|
||||||
* \param theIsVector boolen flag, when \c true causes generating additional
|
* \param theIsVector boolean flag, when \c true causes generating additional
|
||||||
* dataset for edges orientation vectors
|
* dataset for edges orientation vectors
|
||||||
* \param theStandaloneVertexSource output standalone vertices data source
|
* \param theStandaloneVertexSource output standalone vertices data source
|
||||||
* \param theIsolatedEdgeSource output standalone edges data source
|
* \param theIsolatedEdgeSource output standalone edges data source
|
||||||
|
Loading…
Reference in New Issue
Block a user