mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
Typo-fix by Kunda
http://www.salome-platform.org/forum/forum_9/948131982/228851081
This commit is contained in:
parent
def38fecf8
commit
b4c1887ab3
@ -123,7 +123,7 @@
|
||||
## vertices = geompy.SubShapeAll(box, geomBuilder.ShapeType['VERTEX'])
|
||||
## # only 5 first vertices will be published, with default names
|
||||
## print len(vertices)
|
||||
## # note, that result value still containes all 8 vertices
|
||||
## # note, that result value still contains all 8 vertices
|
||||
## geompy.addToStudyAuto(-1) # disable automatic publication
|
||||
## @endcode
|
||||
##
|
||||
@ -976,7 +976,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
# in place of sub-shapes of the first argument,
|
||||
# because the whole shape corresponds to the first argument.
|
||||
# Mainly to be used after transformations, but it also can be
|
||||
# usefull after partition with one object shape, and some other
|
||||
# useful after partition with one object shape, and some other
|
||||
# operations, where only the first argument has to be considered.
|
||||
# If theObject has only one argument shape, this flag is automatically
|
||||
# considered as True, not regarding really passed value.
|
||||
@ -1002,7 +1002,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
in place of sub-shapes of the first argument,
|
||||
because the whole shape corresponds to the first argument.
|
||||
Mainly to be used after transformations, but it also can be
|
||||
usefull after partition with one object shape, and some other
|
||||
useful after partition with one object shape, and some other
|
||||
operations, where only the first argument has to be considered.
|
||||
If theObject has only one argument shape, this flag is automatically
|
||||
considered as True, not regarding really passed value.
|
||||
@ -1027,7 +1027,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
# in place of sub-shapes of the first argument,
|
||||
# because the whole shape corresponds to the first argument.
|
||||
# Mainly to be used after transformations, but it also can be
|
||||
# usefull after partition with one object shape, and some other
|
||||
# useful after partition with one object shape, and some other
|
||||
# operations, where only the first argument has to be considered.
|
||||
# If theObject has only one argument shape, this flag is automatically
|
||||
# considered as True, not regarding really passed value.
|
||||
@ -1053,7 +1053,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
in place of sub-shapes of the first argument,
|
||||
because the whole shape corresponds to the first argument.
|
||||
Mainly to be used after transformations, but it also can be
|
||||
usefull after partition with one object shape, and some other
|
||||
useful after partition with one object shape, and some other
|
||||
operations, where only the first argument has to be considered.
|
||||
If theObject has only one argument shape, this flag is automatically
|
||||
considered as True, not regarding really passed value.
|
||||
@ -1560,7 +1560,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
return anObj
|
||||
|
||||
## Create a line, passing through the given point
|
||||
# and parrallel to the given direction
|
||||
# and parallel to the given direction
|
||||
# @param thePnt Point. The resulting line will pass through it.
|
||||
# @param theDir Direction. The resulting line will be parallel to it.
|
||||
# @param theName Object name; when specified, this parameter is used
|
||||
@ -1574,7 +1574,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
def MakeLine(self, thePnt, theDir, theName=None):
|
||||
"""
|
||||
Create a line, passing through the given point
|
||||
and parrallel to the given direction
|
||||
and parallel to the given direction
|
||||
|
||||
Parameters:
|
||||
thePnt Point. The resulting line will pass through it.
|
||||
@ -3893,7 +3893,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
# possible to generate groups along with the result by means of
|
||||
# setting the flag \a IsGenerateGroups.<BR>
|
||||
# If \a thePath is a closed edge or wire and \a IsGenerateGroups is
|
||||
# set, an error is occured. If \a thePath is not closed edge/wire,
|
||||
# set, an error is occurred. If \a thePath is not closed edge/wire,
|
||||
# the following groups are returned:
|
||||
# - If \a theBase is unclosed edge or wire: "Down", "Up", "Side1",
|
||||
# "Side2";
|
||||
@ -3933,7 +3933,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
possible to generate groups along with the result by means of
|
||||
setting the flag IsGenerateGroups.
|
||||
If thePath is a closed edge or wire and IsGenerateGroups is
|
||||
set, an error is occured. If thePath is not closed edge/wire,
|
||||
set, an error is occurred. If thePath is not closed edge/wire,
|
||||
the following groups are returned:
|
||||
- If theBase is unclosed edge or wire: "Down", "Up", "Side1",
|
||||
"Side2";
|
||||
@ -4182,7 +4182,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
## Create a shape by extrusion of the profile shape along
|
||||
# the path shape. This function is used only for debug pipe
|
||||
# functionality - it is a version of function MakePipeWithShellSections()
|
||||
# which give a possibility to recieve information about
|
||||
# which give a possibility to receive information about
|
||||
# creating pipe between each pair of sections step by step.
|
||||
@ManageTransactions("PrimOp")
|
||||
def MakePipeWithShellSectionsBySteps(self, theSeqBases, theSeqSubBases,
|
||||
@ -4194,7 +4194,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
the path shape. This function is used only for debug pipe
|
||||
functionality - it is a version of previous function
|
||||
geompy.MakePipeWithShellSections() which give a possibility to
|
||||
recieve information about creating pipe between each pair of
|
||||
receive information about creating pipe between each pair of
|
||||
sections step by step.
|
||||
"""
|
||||
res = []
|
||||
@ -7378,7 +7378,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
# publication is switched on, default value is used for result name.
|
||||
#
|
||||
# @return [\a status, \a theClosedWires, \a theOpenWires]
|
||||
# \n \a status: FALSE, if an error(s) occured during the method execution.
|
||||
# \n \a status: FALSE, if an error(s) occurred during the method execution.
|
||||
# \n \a theClosedWires: Closed wires on the free boundary of the given shape.
|
||||
# \n \a theOpenWires: Open wires on the free boundary of the given shape.
|
||||
#
|
||||
@ -7397,7 +7397,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
|
||||
Returns:
|
||||
[status, theClosedWires, theOpenWires]
|
||||
status: FALSE, if an error(s) occured during the method execution.
|
||||
status: FALSE, if an error(s) occurred during the method execution.
|
||||
theClosedWires: Closed wires on the free boundary of the given shape.
|
||||
theOpenWires: Open wires on the free boundary of the given shape.
|
||||
"""
|
||||
@ -8094,7 +8094,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
# @param ListRemoveInside Shapes, inside which the results will be deleted.
|
||||
# Each shape from theRemoveInside must belong to theShapes also.
|
||||
# @param RemoveWebs If TRUE, perform Glue 3D algorithm.
|
||||
# @param ListMaterials Material indices for each shape. Make sence,
|
||||
# @param ListMaterials Material indices for each shape. Make sense,
|
||||
# only if theRemoveWebs is TRUE.
|
||||
#
|
||||
# @return New GEOM.GEOM_Object, containing the result shapes.
|
||||
@ -8136,7 +8136,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
ListRemoveInside Shapes, inside which the results will be deleted.
|
||||
Each shape from theRemoveInside must belong to theShapes also.
|
||||
RemoveWebs If TRUE, perform Glue 3D algorithm.
|
||||
ListMaterials Material indices for each shape. Make sence, only if theRemoveWebs is TRUE.
|
||||
ListMaterials Material indices for each shape. Make sense, only if theRemoveWebs is TRUE.
|
||||
|
||||
Returns:
|
||||
New GEOM.GEOM_Object, containing the result shapes.
|
||||
@ -10277,14 +10277,14 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
self._autoPublish(anObj, theName, "chamfer")
|
||||
return anObj
|
||||
|
||||
## The Same that MakeChamferFaces() but with params theD is chamfer lenght and
|
||||
## The Same that MakeChamferFaces() but with params theD is chamfer length and
|
||||
# theAngle is Angle of chamfer (angle in radians or a name of variable which defines angle in degrees)
|
||||
#
|
||||
# @ref swig_FilletChamfer "Example"
|
||||
@ManageTransactions("LocalOp")
|
||||
def MakeChamferFacesAD(self, theShape, theD, theAngle, theFaces, theName=None):
|
||||
"""
|
||||
The Same that geompy.MakeChamferFaces but with params theD is chamfer lenght and
|
||||
The Same that geompy.MakeChamferFaces but with params theD is chamfer length and
|
||||
theAngle is Angle of chamfer (angle in radians or a name of variable which defines angle in degrees)
|
||||
"""
|
||||
flag = False
|
||||
@ -10335,12 +10335,12 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
self._autoPublish(anObj, theName, "chamfer")
|
||||
return anObj
|
||||
|
||||
## The Same that MakeChamferEdges() but with params theD is chamfer lenght and
|
||||
## The Same that MakeChamferEdges() but with params theD is chamfer length and
|
||||
# theAngle is Angle of chamfer (angle in radians or a name of variable which defines angle in degrees)
|
||||
@ManageTransactions("LocalOp")
|
||||
def MakeChamferEdgesAD(self, theShape, theD, theAngle, theEdges, theName=None):
|
||||
"""
|
||||
The Same that geompy.MakeChamferEdges but with params theD is chamfer lenght and
|
||||
The Same that geompy.MakeChamferEdges but with params theD is chamfer length and
|
||||
theAngle is Angle of chamfer (angle in radians or a name of variable which defines angle in degrees)
|
||||
"""
|
||||
flag = False
|
||||
@ -12769,7 +12769,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
## Build all possible propagation groups.
|
||||
# Propagation group is a set of all edges, opposite to one (main)
|
||||
# edge of this group directly or through other opposite edges.
|
||||
# Notion of Opposite Edge make sence only on quadrangle face.
|
||||
# Notion of Opposite Edge make sense only on quadrangle face.
|
||||
# @param theShape Shape to build propagation groups on.
|
||||
# @param theName Object name; when specified, this parameter is used
|
||||
# for result publication in the study. Otherwise, if automatic
|
||||
@ -12784,7 +12784,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
Build all possible propagation groups.
|
||||
Propagation group is a set of all edges, opposite to one (main)
|
||||
edge of this group directly or through other opposite edges.
|
||||
Notion of Opposite Edge make sence only on quadrangle face.
|
||||
Notion of Opposite Edge make sense only on quadrangle face.
|
||||
|
||||
Parameters:
|
||||
theShape Shape to build propagation groups on.
|
||||
@ -13209,7 +13209,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
return aType
|
||||
|
||||
## Convert a type of geom object from id to string value
|
||||
# @param theId is a GEOM obect type id.
|
||||
# @param theId is a GEOM object type id.
|
||||
# @return type of geom object (POINT, VECTOR, PLANE, LINE, TORUS, ... )
|
||||
# @ref swig_GetType "Example"
|
||||
def ShapeIdToType(self, theId):
|
||||
@ -13217,7 +13217,7 @@ class geomBuilder(object, GEOM._objref_GEOM_Gen):
|
||||
Convert a type of geom object from id to string value
|
||||
|
||||
Parameters:
|
||||
theId is a GEOM obect type id.
|
||||
theId is a GEOM object type id.
|
||||
|
||||
Returns:
|
||||
type of geom object (POINT, VECTOR, PLANE, LINE, TORUS, ... )
|
||||
|
@ -50,7 +50,7 @@
|
||||
# # update object browser
|
||||
# salome.sg.updateObjBrowser(True)
|
||||
# @endcode
|
||||
# @n Additionnal examples can be found as unit tests in the source code.
|
||||
# @n Additional examples can be found as unit tests in the source code.
|
||||
# @}
|
||||
|
||||
"""
|
||||
|
@ -432,8 +432,8 @@ void GEOM_Swig::setColor( const char* theEntry, int theRed, int theGreen, int th
|
||||
/*!
|
||||
\brief Set number of iso-lines to the presentation
|
||||
\param theEntry geometry object's entry
|
||||
\param theNbU number of iso-lines along U axis (interger value >= 0)
|
||||
\param theNbV number of iso-lines along V axis (interger value >= 0)
|
||||
\param theNbU number of iso-lines along U axis (integer value >= 0)
|
||||
\param theNbV number of iso-lines along V axis (integer value >= 0)
|
||||
\param theUpdateViewer \c true to update active view's contents
|
||||
*/
|
||||
void GEOM_Swig::setIsos( const char* theEntry, int theNbU, int theNbV, bool theUpdateViewer )
|
||||
|
@ -1029,7 +1029,7 @@ void GroupGUI_GroupDlg::activateSelection()
|
||||
// local selection
|
||||
if (!myMainObj->_is_nil() &&
|
||||
!myEditCurrentArgument &&
|
||||
myIsShapeType) // check if shape type is already choosen by user
|
||||
myIsShapeType) // check if shape type is already chosen by user
|
||||
{
|
||||
GEOM_Displayer* aDisplayer = getDisplayer();
|
||||
|
||||
|
@ -42,7 +42,7 @@ class SUIT_ViewWindow;
|
||||
/*!
|
||||
* \class MeasureGUI_AnnotationInteractor
|
||||
* \brief Class implementing logical layer for interactive dragging of annotation
|
||||
* labels. It includes two components: listener for GUI events occuring
|
||||
* labels. It includes two components: listener for GUI events occurring
|
||||
* inside of OCCT 3D viewer and processor for hooked events to perform
|
||||
* interactive modification of the selected annotation within current
|
||||
* AIS context.
|
||||
|
@ -687,7 +687,7 @@ Handle(AIS_DiameterDimension) MeasureGUI_DimensionCreateTool::Diameter( const GE
|
||||
Handle(AIS_DiameterDimension) aDimension = new AIS_DiameterDimension( aRuledCirc, aPln );
|
||||
|
||||
// if flyout is extended in tangent direction to circle, the default flyout value is used
|
||||
// if flyout is extended in plane of circle, the zero flyout value is choosen initially
|
||||
// if flyout is extended in plane of circle, the zero flyout value is chosen initially
|
||||
Standard_Real aFlyout = aCircN.IsParallel( aPln.Axis().Direction(), Precision::Angular() ) ? 0.0 : Settings.DefaultFlyout;
|
||||
|
||||
aDimension->SetFlyout(aFlyout);
|
||||
@ -929,7 +929,7 @@ void MeasureGUI_DimensionCreateTool::PositionLength( const Bnd_Box& theBnd,
|
||||
// flyout plane to best match the current view projection (if any)
|
||||
// The points are aligned to XOY, YOZ, ZOX planes.
|
||||
// The flyout takes into account bounding box of main shape of face normal
|
||||
// vector. The flyouts tangetial to the circle plane are directed in
|
||||
// vector. The flyouts tangential to the circle plane are directed in
|
||||
// accordance with the face normal (if not-null), otherwise the flyouts
|
||||
// are turned to direct to the closest border of bounding box.
|
||||
//=================================================================================
|
||||
|
@ -532,7 +532,7 @@ void MeasureGUI_ManageDimensionsDlg::OnSelectItem()
|
||||
//=================================================================================
|
||||
void MeasureGUI_ManageDimensionsDlg::OnShowAll()
|
||||
{
|
||||
// read propety data
|
||||
// read property data
|
||||
SalomeApp_Application* anApp = myGeomGUI->getApp();
|
||||
if ( !anApp )
|
||||
{
|
||||
@ -581,7 +581,7 @@ void MeasureGUI_ManageDimensionsDlg::OnShowAll()
|
||||
//=================================================================================
|
||||
void MeasureGUI_ManageDimensionsDlg::OnHideAll()
|
||||
{
|
||||
// read propety data
|
||||
// read property data
|
||||
SalomeApp_Application* anApp = myGeomGUI->getApp();
|
||||
if ( !anApp )
|
||||
{
|
||||
|
@ -173,7 +173,7 @@ void MeasureGUI_Skeleton::ClickOnHelp()
|
||||
void MeasureGUI_Skeleton::LineEditReturnPressed()
|
||||
{
|
||||
/* User name of object input management */
|
||||
/* If successfull the selection is changed and signal emitted... */
|
||||
/* If successful the selection is changed and signal emitted... */
|
||||
/* so SelectionIntoArgument() is automatically called. */
|
||||
|
||||
if ( mySelEdit ) {
|
||||
|
@ -102,7 +102,7 @@ public:
|
||||
//! screen, while its position is a 3D point defined in world's coordinate system.
|
||||
Standard_EXPORT void SetIsScreenFixed( const Standard_Boolean theIsFixed );
|
||||
|
||||
//! Retuns value of "screen fixed" positioning mode.
|
||||
//! Returns value of "screen fixed" positioning mode.
|
||||
Standard_Boolean GetIsScreenFixed() const { return myIsScreenFixed; }
|
||||
|
||||
//! Converts annotation position to screen fixed coordinates and
|
||||
|
@ -38,7 +38,7 @@
|
||||
#include "RepairGUI_ShapeProcessDlg.h" // Method PROCESS SHAPE
|
||||
#include "RepairGUI_CloseContourDlg.h" // Method CLOSE CONTOUR
|
||||
#include "RepairGUI_RemoveIntWiresDlg.h"// Method REMOVE INTERNAL WIRES
|
||||
#include "RepairGUI_DivideEdgeDlg.h" // Method DEVIDE EDGE
|
||||
#include "RepairGUI_DivideEdgeDlg.h" // Method DIVIDE EDGE
|
||||
#include "RepairGUI_FreeBoundDlg.h" // Method FREE BOUNDARIES
|
||||
#include "RepairGUI_FreeFacesDlg.h" // Method FREE FACES
|
||||
#include "RepairGUI_GlueDlg.h" // Method GLUE FACES
|
||||
|
@ -592,7 +592,7 @@ void RepairGUI_GlueDlg::clearShapeBufferLocal(GEOM::GEOM_Object_ptr theObj)
|
||||
//================================================================
|
||||
// Function : onAccept
|
||||
// Purpose : This method should be called from dialog's slots onOk() and onApply()
|
||||
// It perfroms user input validation, then it
|
||||
// It performs user input validation, then it
|
||||
// performs a proper operation and manages transactions, etc.
|
||||
//================================================================
|
||||
bool RepairGUI_GlueDlg::onAcceptLocal()
|
||||
|
@ -316,7 +316,7 @@ bool RepairGUI_LimitToleranceDlg::execute(ObjectList& objects)
|
||||
//================================================================
|
||||
// Function : onAccept
|
||||
// Purpose : This method should be called from dialog's slots onOk() and onApply()
|
||||
// It perfroms user input validation, then it
|
||||
// It performs user input validation, then it
|
||||
// performs a proper operation and manages transactions, etc.
|
||||
//================================================================
|
||||
bool RepairGUI_LimitToleranceDlg::onAcceptLocal()
|
||||
|
@ -712,7 +712,7 @@ bool RepairGUI_ShapeProcessDlg::execute( ObjectList& objects )
|
||||
}
|
||||
|
||||
if ( !anErrorObjNames.empty() )
|
||||
MESSAGE( "ERRORS occured while processing the following objects: " << anErrorObjNames.join( " " ).toLatin1().data() );
|
||||
MESSAGE( "ERRORS occurred while processing the following objects: " << anErrorObjNames.join( " " ).toLatin1().data() );
|
||||
|
||||
return anErrorObjNames.size() < myObjects->length(); // true if at least one object was OK, false if ALL objects were nil after Healing.
|
||||
}
|
||||
|
@ -137,7 +137,7 @@ Standard_Integer STEPPlugin_ExportDriver::Execute(LOGBOOK& log) const
|
||||
}
|
||||
catch (Standard_Failure)
|
||||
{
|
||||
//THROW_SALOME_CORBA_EXCEPTION("Exception catched in STEPExport", SALOME::BAD_PARAM);
|
||||
//THROW_SALOME_CORBA_EXCEPTION("Exception caught in STEPExport", SALOME::BAD_PARAM);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -126,7 +126,7 @@ Standard_Integer STLPlugin_ExportDriver::Execute(LOGBOOK& log) const
|
||||
}
|
||||
catch( Standard_Failure )
|
||||
{
|
||||
//THROW_SALOME_CORBA_EXCEPTION("Exception catched in ExportSTL", SALOME::BAD_PARAM);
|
||||
//THROW_SALOME_CORBA_EXCEPTION("Exception caught in ExportSTL", SALOME::BAD_PARAM);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -46,10 +46,10 @@ class ShHealOper_ChangeOrientation : public ShHealOper_Tool
|
||||
|
||||
/// Copy constructor
|
||||
Standard_EXPORT ShHealOper_ChangeOrientation (const TopoDS_Shape& theShape);
|
||||
//Method for initalization by whole shape.
|
||||
//Method for initialization by whole shape.
|
||||
|
||||
Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape);
|
||||
//Method for initalization by whole shape.
|
||||
//Method for initialization by whole shape.
|
||||
|
||||
Standard_EXPORT Standard_Boolean Perform();
|
||||
//Change orientation
|
||||
|
@ -136,7 +136,7 @@ void ShHealOper_CloseContour::build(Handle(ShapeExtend_WireData)& theSewd)
|
||||
//checks that all specified edges belong the one face or not.
|
||||
Standard_Boolean isOneFace = checkOneFace(theSewd,aCommonFaces);
|
||||
|
||||
//add edge or increase max tolerance in dependance on specified VertexMode.
|
||||
//add edge or increase max tolerance in dependence on specified VertexMode.
|
||||
//if all edges belong the one face that gap will be closed in the 2D by line
|
||||
//else gap will be closed in the 3D by line.
|
||||
myDone = fixGaps(theSewd,aCommonFaces);
|
||||
|
@ -51,7 +51,7 @@ class ShHealOper_CloseContour : public ShHealOper_Tool
|
||||
//Initalizes by whole shape.
|
||||
|
||||
Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape);
|
||||
//Method for initalization by whole shape.
|
||||
//Method for initialization by whole shape.
|
||||
|
||||
Standard_EXPORT Standard_Boolean Perform(const TopTools_SequenceOfShape& theSeqEdges,
|
||||
const Standard_Boolean theModeVertex = Standard_False,
|
||||
|
@ -189,7 +189,7 @@ Standard_Boolean ShHealOper_EdgeDivide::build(const Handle(TColStd_HSequenceOfRe
|
||||
has2d = Standard_False,
|
||||
hasPCurves = Standard_False;
|
||||
|
||||
//computation of the split values in dependance from specified mode and values.
|
||||
//computation of the split values in dependence from specified mode and values.
|
||||
if(!computeValues(theValues, has3d,has2d,hasPCurves)) {
|
||||
myErrorStatus = ShHealOper_InvalidParameters;
|
||||
return Standard_False;
|
||||
@ -214,7 +214,7 @@ Standard_Boolean ShHealOper_EdgeDivide::build(const Handle(TColStd_HSequenceOfRe
|
||||
return Standard_False;
|
||||
}
|
||||
|
||||
//split 3d curve and pcurve for each face reffering to edge.
|
||||
//split 3d curve and pcurve for each face referring to edge.
|
||||
Standard_Boolean isDone = Standard_True;
|
||||
if(hasPCurves) {
|
||||
const TopTools_ListOfShape& lfaces = myMapEdgesFace.FindFromKey(myEdge);
|
||||
|
@ -49,7 +49,7 @@ class ShHealOper_EdgeDivide : public ShHealOper_Tool
|
||||
/// Constructor initializes by shape.
|
||||
|
||||
Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape);
|
||||
//Method for initalization by whole shape.
|
||||
//Method for initialization by whole shape.
|
||||
|
||||
Standard_EXPORT Standard_Boolean Perform(const TopoDS_Shape& theEdge,
|
||||
const Standard_Real theValue,
|
||||
|
@ -361,7 +361,7 @@ Standard_Boolean ShHealOper_FillHoles::addFace(const Handle(Geom_Surface)& theSu
|
||||
aB.Range (anEdge, aFace, aF, aL);
|
||||
|
||||
// Set orientation of the edge: orientation should be changed
|
||||
// if its orientation does not make sence with curve orientation
|
||||
// if its orientation does not make sense with curve orientation
|
||||
// recommended by GeomPlate
|
||||
if ((anEdge.Orientation() == TopAbs_FORWARD) ==
|
||||
(theSenses->Value (theOrders->Value (aInd)) == 1)) {
|
||||
|
@ -53,7 +53,7 @@ class ShHealOper_FillHoles : public ShHealOper_Tool
|
||||
Standard_EXPORT ShHealOper_FillHoles (const TopoDS_Shape& theShape);
|
||||
|
||||
Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape);
|
||||
//Method for initalization by whole shape.
|
||||
//Method for initialization by whole shape.
|
||||
|
||||
Standard_EXPORT void InitParameters(Standard_Integer theDegree = 3,//3(2)
|
||||
Standard_Integer theNbPtsOnCur =5,//3,
|
||||
|
@ -50,7 +50,7 @@ class ShHealOper_RemoveFace : public ShHealOper_Tool
|
||||
Standard_EXPORT ShHealOper_RemoveFace (const TopoDS_Shape& theShape);
|
||||
// Constructor initialized by shape from which faces will be removed.
|
||||
Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape);
|
||||
//Method for initalization by whole shape.
|
||||
//Method for initialization by whole shape.
|
||||
Standard_EXPORT Standard_Boolean Perform();
|
||||
//Removes all faces from specified shape.
|
||||
|
||||
|
@ -48,10 +48,10 @@ class ShHealOper_RemoveInternalWires : public ShHealOper_Tool
|
||||
|
||||
/// Copy constructor
|
||||
Standard_EXPORT ShHealOper_RemoveInternalWires (const TopoDS_Shape& theShape);
|
||||
//Method for initalization by whole shape.
|
||||
//Method for initialization by whole shape.
|
||||
|
||||
Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape);
|
||||
//Method for initalization by whole shape.
|
||||
//Method for initialization by whole shape.
|
||||
|
||||
Standard_EXPORT Standard_Boolean Remove();
|
||||
//Removes all internal wires from all faces of the shape
|
||||
|
@ -50,10 +50,10 @@ class ShHealOper_Sewing : public ShHealOper_Tool
|
||||
|
||||
Standard_EXPORT ShHealOper_Sewing (const TopoDS_Shape& theShape,
|
||||
const Standard_Real theTolerance);
|
||||
//Constructor for initalization by shape and tolerance.
|
||||
//Constructor for initialization by shape and tolerance.
|
||||
|
||||
Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape);
|
||||
//Method for initalization by whole shape.
|
||||
//Method for initialization by whole shape.
|
||||
|
||||
Standard_EXPORT Standard_Boolean Perform();
|
||||
//Performs sewing specified whole shape.
|
||||
|
@ -53,7 +53,7 @@ class ShHealOper_Tool
|
||||
// Constructor initialized by shape from which faces will be removed.
|
||||
|
||||
Standard_EXPORT virtual void Init(const TopoDS_Shape& theShape);
|
||||
//Method for initalization by whole shape.
|
||||
//Method for initialization by whole shape.
|
||||
|
||||
inline const TopoDS_Shape& GetResultShape() const
|
||||
{
|
||||
|
@ -235,7 +235,7 @@ bool ShapeRec_FeatureDetector::ComputeContours( bool useROI, ShapeRec_Parameters
|
||||
|
||||
detected_edges = cv::Mat(binary_backproject);
|
||||
}
|
||||
// else if ( detection_method == RIDGE_DETECTOR ) // Method adapted for engineering drawings (e.g. watershed functionnality could be used here cf.OpenCV documentation and samples)
|
||||
// else if ( detection_method == RIDGE_DETECTOR ) // Method adapted for engineering drawings (e.g. watershed functionality could be used here cf.OpenCV documentation and samples)
|
||||
// {
|
||||
// // TODO
|
||||
// return false;
|
||||
|
@ -100,13 +100,13 @@ Standard_Integer VTKPlugin_ExportDriver::Execute(LOGBOOK& log) const
|
||||
aWriter->SetFileName( aFileName.ToCString() );
|
||||
aWriter->Write();
|
||||
aWriter->Delete();
|
||||
pd->Delete(); //instanciated by the GEOM::GetData(...) method
|
||||
pd->Delete(); //instantiated by the GEOM::GetData(...) method
|
||||
|
||||
return 1;
|
||||
}
|
||||
catch( Standard_Failure )
|
||||
{
|
||||
//THROW_SALOME_CORBA_EXCEPTION("Exception catched in ExportVTK", SALOME::BAD_PARAM);
|
||||
//THROW_SALOME_CORBA_EXCEPTION("Exception caught in ExportVTK", SALOME::BAD_PARAM);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
|
@ -97,7 +97,7 @@ void BrepGeometry::setTopoDS_Shape(const TopoDS_Shape& shape)
|
||||
|
||||
void BrepGeometry::initIds()
|
||||
{
|
||||
// intialization of Ids
|
||||
// initialization of Ids
|
||||
initListIds(TopAbs_VERTEX, m_vertices);
|
||||
initListIds(TopAbs_EDGE, m_edges);
|
||||
initListIds(TopAbs_FACE, m_faces);
|
||||
|
@ -47,7 +47,7 @@ namespace XAO
|
||||
protected:
|
||||
/**
|
||||
* Constructor.
|
||||
* @param dimension the dimension ot the field.
|
||||
* @param dimension the dimension of the field.
|
||||
* @param nbElements the number of elements.
|
||||
* @param nbComponents the number of components.
|
||||
* @param name the name of the field.
|
||||
|
Loading…
Reference in New Issue
Block a user