mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-01 17:36:21 +03:00
0033762: Documentation - Fix various typos found in codebase
This commit is contained in:
parent
5cf1003a66
commit
76df27830b
@ -21,7 +21,7 @@ rem ----- Decode VCVER variable and define related ones -----
|
||||
rem
|
||||
rem VCFMT - "vc" followed by full version number of Visual Studio toolset
|
||||
rem (same as VCVER without optional suffix "-uwp")
|
||||
rem VCLIB - name of folder contining binaries
|
||||
rem VCLIB - name of folder containing binaries
|
||||
rem (same as VCVER except without third version in number)
|
||||
rem VCPROP - name of required Visual Studion Workload (starting with VS 2017)
|
||||
rem
|
||||
|
@ -104,7 +104,7 @@ fi
|
||||
|
||||
export CSF_OPT_CMPL=""
|
||||
|
||||
# Optiona 3rd-parties should be enabled by HAVE macros
|
||||
# Optional 3rd-parties should be enabled by HAVE macros
|
||||
if [ "$HAVE_TBB" == "true" ]; then export CSF_OPT_CMPL="${CSF_OPT_CMPL} -DHAVE_TBB"; fi
|
||||
if [ "$HAVE_OPENCL" == "true" ]; then export CSF_OPT_CMPL="${CSF_OPT_CMPL} -DHAVE_OPENCL"; fi
|
||||
if [ "$HAVE_TK" == "true" ]; then export CSF_OPT_CMPL="${CSF_OPT_CMPL} -DHAVE_TK"; fi
|
||||
|
@ -3306,7 +3306,7 @@ The following example illustrates how to use Common operation:
|
||||
Standard_Real aFuzzyValue;
|
||||
BRepAlgoAPI_Common aBuilder;
|
||||
|
||||
// perpare the arguments
|
||||
// prepare the arguments
|
||||
TopTools_ListOfShape& aLS=…;
|
||||
TopTools_ListOfShape& aLT=…;
|
||||
//
|
||||
@ -3373,7 +3373,7 @@ The following example illustrates how to use Fuse operation:
|
||||
Standard_Real aFuzzyValue;
|
||||
BRepAlgoAPI_Fuse aBuilder;
|
||||
|
||||
// perpare the arguments
|
||||
// prepare the arguments
|
||||
TopTools_ListOfShape& aLS=…;
|
||||
TopTools_ListOfShape& aLT=…;
|
||||
//
|
||||
@ -3440,7 +3440,7 @@ The following example illustrates how to use Cut operation:
|
||||
Standard_Real aFuzzyValue;
|
||||
BRepAlgoAPI_Cut aBuilder;
|
||||
|
||||
// perpare the arguments
|
||||
// prepare the arguments
|
||||
TopTools_ListOfShape& aLS=…;
|
||||
TopTools_ListOfShape& aLT=…;
|
||||
//
|
||||
@ -3508,7 +3508,7 @@ The following example illustrates how to use Section operation:
|
||||
Standard_Real aFuzzyValue;
|
||||
BRepAlgoAPI_Section aBuilder;
|
||||
|
||||
// perpare the arguments
|
||||
// prepare the arguments
|
||||
TopTools_ListOfShape& aLS=…;
|
||||
TopTools_ListOfShape& aLT=…;
|
||||
//
|
||||
|
@ -410,7 +410,7 @@ Current goal is to speed up Monte-Carlo integration of Cook-Torrance like integr
|
||||
|
||||
Where \f$g(v, l)\f$ is just arbitrary function representing Fresnel's factor itself or its components.
|
||||
In order to increase convergence the samples with larger contribution (or in other words with larger function's values) have to appear more frequently than others proportionally to its contribution.
|
||||
So that less significant summand with less influence to result will be considered rarely and in opposite way parts brining noticeable changes to the sum will be taken often.
|
||||
So that less significant summand with less influence to result will be considered rarely and in opposite way parts bringing noticeable changes to the sum will be taken often.
|
||||
That is the main idea of **importance sampling technique**.
|
||||
\f$p(l)\f$ has to represent significance of sample in terms of integrated function via probability somehow.
|
||||
And it will be like that if PDF is already part of original function because in that case probability density directly affects to contribution forming.
|
||||
|
@ -212,7 +212,7 @@ pload XDE
|
||||
|
||||
@subsubsection occt_de_wrapper_3_3_3 Realtime initialization. Code sample
|
||||
|
||||
It is possible to change a paramater from code using a smart pointer.
|
||||
It is possible to change a parameter from code using a smart pointer.
|
||||
|
||||
~~~~{.cpp}
|
||||
// global variable
|
||||
@ -239,7 +239,7 @@ THE_STEP_NODE->InternalParameters.ReadProps = false;
|
||||
|
||||
@subsection occt_de_wrapper_3_4 Priority of Vendors
|
||||
|
||||
DE session is able to work with several vendors with the same supported CAD format. To choose the preffered vendor for each format, use a special priority list.
|
||||
DE session is able to work with several vendors with the same supported CAD format. To choose the preferred vendor for each format, use a special priority list.
|
||||
|
||||
If the high priority vendor's provider is not supported, a transfer operation is needed (write/read), then the next vendor will be chosen.
|
||||
|
||||
@ -251,7 +251,7 @@ If the high priority vendor's provider is not supported, a transfer operation is
|
||||
TColStd_ListOfAsciiString aVendors;
|
||||
aVendors.Appends("OCC"); // high priority
|
||||
aVendors.Appends("DTK");
|
||||
// Flag to disable not choosen vendors, in this case configuration is possible
|
||||
// Flag to disable not chosen vendors, in this case configuration is possible
|
||||
// otherwise, lower their priority and continue to check ability to transfer
|
||||
Standard_Boolean aToDisable = Standard_True;
|
||||
aSession->ChangePriority(aFormat, aVendors, aToDisable);
|
||||
@ -352,7 +352,7 @@ It is possible to read and write CAD files directly from a special provider.
|
||||
~~~~{.cpp}
|
||||
// Creating or getting node
|
||||
Handle(STEPCAFControl_ConfigurationNode) aNode = new STEPCAFControl_ConfigurationNode();
|
||||
// Creationg an one-time provider
|
||||
// Creating an one-time provider
|
||||
Handle(DE_Provider) aProvider = aNode->BuildProvider();
|
||||
// Setting configuration with all parameters
|
||||
aProvider->SetNode(aNode);
|
||||
|
@ -4878,7 +4878,7 @@ For a curve at a given parameter, and depending on the number of arguments, **cv
|
||||
|
||||
**Example:**
|
||||
|
||||
Let on a bezier curve at parameter 0 the point is the first pole; the first derivative is the vector to the second pole multiplied by the degree; the second derivative is the difference first to the second pole, second to the third pole multipied by *degree-1* :
|
||||
Let on a bezier curve at parameter 0 the point is the first pole; the first derivative is the vector to the second pole multiplied by the degree; the second derivative is the difference first to the second pole, second to the third pole multiplied by *degree-1* :
|
||||
|
||||
~~~~{.php}
|
||||
2dbeziercurve c 4 0 0 1 1 2 1 3 0
|
||||
|
@ -193,7 +193,7 @@ Modify this parameter with:
|
||||
if (!Interface_Static::SetIVal ("read.stdsameparameter.mode",1))
|
||||
.. error ..;
|
||||
~~~~
|
||||
Deafault value is 0 (Off).
|
||||
Default value is 0 (Off).
|
||||
|
||||
<h4>read.surfacecurve.mode</h4>
|
||||
preference for the computation of curves in case of 2D/3D inconsistency in an entity which has both 2D and 3D representations.
|
||||
|
@ -2329,7 +2329,7 @@ else {
|
||||
|
||||
@subsubsection occt_modalg_7_4 Pipe Constructor
|
||||
|
||||
*BRepOffsetAPI_MakePipe* class allows creating a pipe from a Spine, which is a Wire and a Profile which is a Shape. This implementation is limited to spines with smooth transitions, sharp transitions are precessed by *BRepOffsetAPI_MakePipeShell*. To be more precise the continuity must be G1, which means that the tangent must have the same direction, though not necessarily the same magnitude, at neighboring edges.
|
||||
*BRepOffsetAPI_MakePipe* class allows creating a pipe from a Spine, which is a Wire and a Profile which is a Shape. This implementation is limited to spines with smooth transitions, sharp transitions are processed by *BRepOffsetAPI_MakePipeShell*. To be more precise the continuity must be G1, which means that the tangent must have the same direction, though not necessarily the same magnitude, at neighboring edges.
|
||||
|
||||
The angle between the spine and the profile is preserved throughout the pipe.
|
||||
|
||||
|
@ -340,7 +340,7 @@ The <i>GeomConvert</i> package also provides the following:
|
||||
* global functions to construct BSpline surfaces created by this splitting algorithm, or by other types of BSpline surface segmentation,
|
||||
* an algorithm, which converts a BSpline surface into a series of adjacent Bezier surfaces,
|
||||
* an algorithm, which converts a grid of adjacent Bezier surfaces into a BSpline surface.
|
||||
* algorithms that converts NURBS, Bezier and other general parametrized curves and surface into anaytical curves and surfaces.
|
||||
* algorithms that converts NURBS, Bezier and other general parametrized curves and surface into analytical curves and surfaces.
|
||||
|
||||
@subsection occt_modat_1_4 Points on Curves
|
||||
|
||||
|
@ -27,7 +27,7 @@ find_package(OpenGL REQUIRED)
|
||||
# Open CASCADE Technology
|
||||
find_package (OpenCASCADE REQUIRED)
|
||||
if (NOT OpenCASCADE_FOUND)
|
||||
message (FATAL_ERROR "coult not find OpenCASCADE, please set OpenCASCADE_DIR variable" )
|
||||
message (FATAL_ERROR "could not find OpenCASCADE, please set OpenCASCADE_DIR variable" )
|
||||
else()
|
||||
message (STATUS "Using OpenCASCADE from \"${OpenCASCADE_INSTALL_PREFIX}\"" )
|
||||
message (STATUS "OpenCASCADE_INCLUDE_DIR=${OpenCASCADE_INCLUDE_DIR}")
|
||||
|
@ -346,7 +346,7 @@ static void Sample()
|
||||
|
||||
constraint->Set(TDataXtd_PARALLEL, NS1, NS2);
|
||||
|
||||
// Getting number of geometries which define a constarint
|
||||
// Getting number of geometries which define a constraint
|
||||
|
||||
Standard_Integer number = constraint->NbGeometries();
|
||||
|
||||
|
@ -167,7 +167,7 @@ static void Sample()
|
||||
if( ShapeLabel.FindAttribute(TPrsStd_AISPresentation::GetID(), PRS) ) PRS->Erase();
|
||||
// The method Erase() marks presentation of attribute as erased in AIS_InteractiveContext;
|
||||
// in order to make changes visible in a viewer's window viewer has to be updated
|
||||
TPrsStd_AISViewer::Update(ShapeLabel); //Update viewer to erase presenation of the attribute in a viewer's window
|
||||
TPrsStd_AISViewer::Update(ShapeLabel); //Update viewer to erase presentation of the attribute in a viewer's window
|
||||
//Presentation of the attribute is erased from viewer but
|
||||
// stays in AIS_InteractiveContext
|
||||
|
||||
@ -182,7 +182,7 @@ static void Sample()
|
||||
// Updating and displaying presentation of the attribute to be displayed
|
||||
|
||||
P->Display(Standard_True);
|
||||
TPrsStd_AISViewer::Update(ShapeLabel); //Update presenation of the attribute in a viewer's window
|
||||
TPrsStd_AISViewer::Update(ShapeLabel); //Update presentation of the attribute in a viewer's window
|
||||
|
||||
//Getting Standard_GUID of attribute with which TPrsStd_AISPresentation attribute is associated
|
||||
|
||||
|
@ -41,7 +41,7 @@ Tools->Options->Android
|
||||
* In Android SDK location specify path to Android SDK
|
||||
* In Android NDK location specify path to Android NDK
|
||||
(During this location definition, warning is possible and OK:
|
||||
"Qt version for architecture mips is missing. To add the Qt version, select Options > Build & Run > Qt Versins.")
|
||||
"Qt version for architecture mips is missing. To add the Qt version, select Options > Build & Run > Qt Versions.")
|
||||
* In Ant executable specify path to ant.bat file located in Apache Ant bin directory
|
||||
|
||||
Make sure that "Android for armeabi-v7a" kit has been detected (present in the list).
|
||||
|
@ -1924,6 +1924,7 @@ Standard_Boolean BOPTools_AlgoTools::IsBlockInOnFace
|
||||
return bFlag;
|
||||
}
|
||||
//
|
||||
|
||||
// Treatment intemediate
|
||||
Standard_Real m1, aTolF, aTolE, aTol, aDist;
|
||||
m1=IntTools_Tools::IntermediatePoint(f1, l1);
|
||||
|
@ -540,7 +540,7 @@ Standard_Real BRepFeat_RibSlot::IntPar(const Handle(Geom_Curve)& C,
|
||||
|
||||
//=======================================================================
|
||||
//function : EdgeExtention
|
||||
//purpose : extention of a edge by tangence
|
||||
//purpose : extension of a edge by tangence
|
||||
//=======================================================================
|
||||
|
||||
void BRepFeat_RibSlot::EdgeExtention(TopoDS_Edge& e,
|
||||
|
@ -2986,7 +2986,7 @@ void BRepOffset_MakeOffset::MakeMissingWalls (const Message_ProgressRange& theRa
|
||||
// (one of reson is mixed connectivity of faces)
|
||||
// algoritm of cutting offset edge by intersection line
|
||||
// can fail and offset edge cannot get vertices.
|
||||
// Follwing workaround is only to avoid exeption if V3 and V4 are Null
|
||||
// Follwing workaround is only to avoid exception if V3 and V4 are Null
|
||||
// Vertex points are invalid.
|
||||
Standard_Real anOEF, anOEL;
|
||||
TopAbs_Orientation anOEOri = OE.Orientation();
|
||||
|
@ -453,7 +453,7 @@ void ChFi2d_FilletAlgo::PerformNewton(FilletPoint* theLeft, FilletPoint* theRigh
|
||||
else
|
||||
{
|
||||
if (Abs(aB) > Abs(aDet * 1000000.))
|
||||
{ // possible floating point operations accurancy errors
|
||||
{ // possible floating point operations accuracy errors
|
||||
//std::cout<<"*";
|
||||
ProcessPoint(theLeft, theRight, theLeft->getParam() + aDX / 2.0); // linear division otherwise
|
||||
}
|
||||
|
@ -524,7 +524,7 @@ help checkprops {
|
||||
-deps DEPSILON: the epsilon defines relative precision to compare corresponding values
|
||||
-equal SHAPE: compare area\volume\length of input shapes. Puts error if its are not equal
|
||||
-notequal SHAPE: compare area\volume\length of input shapes. Puts error if its are equal
|
||||
-skip: count shared shapes only once, skipping repeatitions
|
||||
-skip: count shared shapes only once, skipping repetitions
|
||||
Options -l, -s and -v are independent and can be used in any order. Tolerance epsilon is the same for all options.
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,7 @@
|
||||
|
||||
#include <stdio.h>
|
||||
//------------------------------------------------------------------------------------------------------------------
|
||||
// Returns 1 if C is above of CMin; 0 if C is bitween CMin and CMax; -1 if C is Below CMax
|
||||
// Returns 1 if C is above of CMin; 0 if C is between CMin and CMax; -1 if C is Below CMax
|
||||
//-----------------------------------------------------------------------------------------------------------------
|
||||
static Standard_Integer AboveInBelowCone(const gp_Circ &CMax, const gp_Circ &CMin, const gp_Circ &C)
|
||||
{
|
||||
|
@ -40,7 +40,7 @@ public:
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
|
||||
//! Draws the presenation of the full angle of a cone.
|
||||
//! Draws the presentation of the full angle of a cone.
|
||||
//! VminCircle - a circle at V parameter = Vmin
|
||||
//! VmaxCircle - a circle at V parameter = Vmax
|
||||
//! aCircle - a circle at V parameter from projection of aPosition to axis of the cone
|
||||
|
@ -55,7 +55,7 @@ void DsgPrs_EqualRadiusPresentation::Add( const Handle( Prs3d_Presentation )& aP
|
||||
DsgPrs::ComputeSymbol( aPresentation, LA, FirstCenter, FirstPoint, FirstDir.Reversed(), FirstDir, DsgPrs_AS_FIRSTPT_LASTAR );
|
||||
DsgPrs::ComputeSymbol( aPresentation, LA, SecondCenter, SecondPoint, SecondDir.Reversed(), SecondDir, DsgPrs_AS_FIRSTPT_LASTAR );
|
||||
|
||||
//ota === beging ===
|
||||
//ota === begin ===
|
||||
gp_Pnt Middle( (FirstCenter.XYZ() + SecondCenter.XYZ()) *0.5 ), aTextPos;
|
||||
Standard_Real SmallDist;
|
||||
//Mark of constraint
|
||||
|
@ -65,7 +65,7 @@ class IFSelect_GeneralModifier : public Standard_Transient
|
||||
public:
|
||||
|
||||
//! Returns True if this modifier may change the graph of
|
||||
//! dependences (aknowledged at creation time)
|
||||
//! dependences (acknowledged at creation time)
|
||||
Standard_EXPORT Standard_Boolean MayChangeGraph() const;
|
||||
|
||||
//! Attaches to a Dispatch. If <disp> is Null, Resets it
|
||||
|
@ -40,7 +40,7 @@ DEFINE_STANDARD_HANDLE(IFSelect_IntParam, Standard_Transient)
|
||||
//! to get its Handle.
|
||||
//! For an Integer, an IntParam can designate (by its name) a
|
||||
//! Static : each time its value is required or set, the Static
|
||||
//! is aknowledged
|
||||
//! is acknowledged
|
||||
class IFSelect_IntParam : public Standard_Transient
|
||||
{
|
||||
|
||||
|
@ -87,7 +87,7 @@ public:
|
||||
//! begin by <root>
|
||||
Standard_EXPORT Handle(TColStd_HSequenceOfHAsciiString) List (const Standard_CString root = "") const;
|
||||
|
||||
//! Returns True if the list of Entities is aknowledged, else
|
||||
//! Returns True if the list of Entities is acknowledged, else
|
||||
//! the method Entities will always return a Null Handle
|
||||
Standard_EXPORT Standard_Boolean HasEntities() const;
|
||||
|
||||
|
@ -37,7 +37,7 @@ IGESGeom_CopiousData::IGESGeom_CopiousData ()
|
||||
const Standard_Real aZPlane,
|
||||
const Handle(TColStd_HArray1OfReal)& allData)
|
||||
{
|
||||
// PTV OCC386 crach application while reading So5771b.igs
|
||||
// PTV OCC386 crash application while reading So5771b.igs
|
||||
if (allData.IsNull())
|
||||
throw Standard_NullObject("IGESGeom_CopiousData : Init with null data");
|
||||
|
||||
|
@ -1098,7 +1098,7 @@ bool Image_AlienPixMap::Save (Standard_Byte* theBuffer,
|
||||
if (theBuffer != NULL)
|
||||
{
|
||||
// a memory buffer wrapped by FreeImage is read only (images can be loaded but not be saved)
|
||||
// so we call FreeImage_OpenMemory() with default arguments and just memcpy in requsted buffer.
|
||||
// so we call FreeImage_OpenMemory() with default arguments and just memcpy in requested buffer.
|
||||
FIMEMORY* aFiMem = FreeImage_OpenMemory();
|
||||
isSaved = (FreeImage_SaveToMemory (anImageFormat, anImageToDump, aFiMem) != FALSE);
|
||||
BYTE* aData = NULL;
|
||||
|
@ -37,7 +37,7 @@
|
||||
//! (about 90 degree between the normal and the direction to the user's eye).
|
||||
//! Deflection of the light for such a triangle depends on implementation of the video driver.
|
||||
//! In order to skip this difference the following algorithm is used:
|
||||
//! a) "Different" pixels are groupped and checked on "one-pixel width line".
|
||||
//! a) "Different" pixels are grouped and checked on "one-pixel width line".
|
||||
//! indeed, the pixels may represent not a line, but any curve.
|
||||
//! But the width of this curve should be not more than a pixel.
|
||||
//! This group of pixels become a candidate to be ignored because of boundary effect.
|
||||
|
@ -74,7 +74,7 @@ public:
|
||||
//! Returns internal values, used for copying
|
||||
Standard_EXPORT void Internals (Standard_Integer& nbrefs, Handle(TColStd_HArray1OfInteger)& ents, Handle(TColStd_HArray1OfInteger)& refs) const;
|
||||
|
||||
//! Returns count of entities to be aknowledged
|
||||
//! Returns count of entities to be acknowledged
|
||||
Standard_EXPORT Standard_Integer NbEntities() const;
|
||||
|
||||
//! Changes the count of entities (ignored if decreased)
|
||||
|
@ -22,7 +22,7 @@
|
||||
#include <NCollection_Map.hxx>
|
||||
#include <NCollection_IncAllocator.hxx>
|
||||
|
||||
//! Auxiliary enumeration serving as responce from method Inspect
|
||||
//! Auxiliary enumeration serving as response from method Inspect
|
||||
enum NCollection_CellFilter_Action
|
||||
{
|
||||
CellFilter_Keep = 0, //!< Target is needed and should be kept
|
||||
@ -136,7 +136,7 @@ public:
|
||||
Reset (theCellSize, theAlloc);
|
||||
}
|
||||
|
||||
//! Constructor when dimenstion count is known at compilation time.
|
||||
//! Constructor when dimension count is known at compilation time.
|
||||
NCollection_CellFilter (const Standard_Real theCellSize = 0,
|
||||
const Handle(NCollection_IncAllocator)& theAlloc = 0)
|
||||
: myCellSize(0, Inspector::Dimension - 1)
|
||||
|
@ -36,7 +36,7 @@ public:
|
||||
}
|
||||
|
||||
//! Get number of columns.
|
||||
//! @retur number of columns.
|
||||
//! @return number of columns.
|
||||
static size_t Cols()
|
||||
{
|
||||
return 4;
|
||||
|
@ -4581,7 +4581,7 @@ void QABugs::Commands_20(Draw_Interpretor& theCommands) {
|
||||
__FILE__,
|
||||
QACheckBends, group);
|
||||
theCommands.Add("OCC26441",
|
||||
"OCC26441 shape ref_shape [tol [all_diff 0/1]] \nif all_diff = 0, only icreasing tolerances is considered" ,
|
||||
"OCC26441 shape ref_shape [tol [all_diff 0/1]] \nif all_diff = 0, only increasing tolerances is considered" ,
|
||||
__FILE__,
|
||||
OCC26441, group);
|
||||
|
||||
|
@ -923,7 +923,7 @@ ShapeFix_WireSegment ShapeFix_ComposeShell::SplitWire (ShapeFix_WireSegment &wir
|
||||
}
|
||||
}
|
||||
|
||||
//pdn Claculating parametric shift
|
||||
//pdn Calculating parametric shift
|
||||
Standard_Boolean sp = (f3d == firstPar && l3d == lastPar);
|
||||
Standard_Real span2d = lastPar - firstPar;
|
||||
// Standard_Real ln2d = lastPar-prevPar;
|
||||
|
@ -227,7 +227,7 @@ protected:
|
||||
//! wires. This is done by traversing all the segments in allowed
|
||||
//! directions, starting only from the REVERSED and FORWARD and
|
||||
//! taking EXTERNAL as necessary in fork points. Forks are detected
|
||||
//! by common vertices. In fork point, most left way is seleccted
|
||||
//! by common vertices. In fork point, most left way is selected
|
||||
//! among all possible ways.
|
||||
Standard_EXPORT void CollectWires (ShapeFix_SequenceOfWireSegment& wires, ShapeFix_SequenceOfWireSegment& seqw);
|
||||
|
||||
|
@ -515,7 +515,7 @@ Standard_Boolean ShapeFix_Edge::FixAddPCurve (const TopoDS_Edge& edge,
|
||||
// Ici, on exploite les infos deja connues
|
||||
Standard_Real uf,ul,vf,vl;
|
||||
surf->Bounds (uf,ul,vf,vl);
|
||||
//#4 rln 19/02/98 ProSTEP ug_exhaust-A.stp entity #284920 (thoroidal surface)
|
||||
//#4 rln 19/02/98 ProSTEP ug_exhaust-A.stp entity #284920 (toroidal surface)
|
||||
//#13 rln 17/03/98 (updating fix #4) call to TranslatePCurve in the case
|
||||
//when a surface is either u- and vclosed or neither u- nor vclosed
|
||||
//#78 rln 12.03.99 S4135: checking spatial closure with prec
|
||||
|
@ -68,7 +68,7 @@ public:
|
||||
//! isAccountMultiConex - mode for account cases of multiconnexity.
|
||||
//! If this mode is equal to Standard_True, separate shells will be created
|
||||
//! in the cases of multiconnexity. If this mode is equal to Standard_False,
|
||||
//! one shell will be created without account of multiconnexity.By defautt - Standard_True;
|
||||
//! one shell will be created without account of multiconnexity.By default - Standard_True;
|
||||
//! NonManifold - mode for creation of non-manifold shells.
|
||||
//! If this mode is equal to Standard_True one non-manifold will be created from shell
|
||||
//! contains multishared edges. Else if this mode is equal to Standard_False only
|
||||
|
@ -1973,7 +1973,7 @@ static Standard_Boolean RemoveLoop (TopoDS_Edge &E, const TopoDS_Face &face,
|
||||
Seq2d->Append((t1+t2)/2);
|
||||
Handle(TColStd_HSequenceOfReal) Seq3d = SFTP.Perform(Seq2d,Standard_False);
|
||||
|
||||
Standard_Real dist1 = pcurPnt.Distance(crv->Value(Seq3d->Value(1)));// correting Seq3d already project
|
||||
Standard_Real dist1 = pcurPnt.Distance(crv->Value(Seq3d->Value(1)));// correcting Seq3d already project
|
||||
Standard_Real dist2 = pcurPnt.Distance(crv->Value(Seq3d->Value(2)));
|
||||
Standard_Real dist3 = pcurPnt.Distance(crv->Value(Seq3d->Value(3)));
|
||||
Standard_Real ftrim,ltrim;
|
||||
@ -2105,7 +2105,7 @@ static Standard_Boolean RemoveLoop (TopoDS_Edge &E, const TopoDS_Face &face,
|
||||
Seq2d->Append((t1+t2)/2);
|
||||
Handle (TColStd_HSequenceOfReal) Seq3d = SFTP.Perform(Seq2d,Standard_False);
|
||||
|
||||
Standard_Real dist1 = pcurPnt.Distance(crv->Value(Seq3d->Value(1)));// correting Seq3d already project
|
||||
Standard_Real dist1 = pcurPnt.Distance(crv->Value(Seq3d->Value(1)));// correcting Seq3d already project
|
||||
Standard_Real dist2 = pcurPnt.Distance(crv->Value(Seq3d->Value(2)));
|
||||
Standard_Real dist3 = pcurPnt.Distance(crv->Value(Seq3d->Value(3)));
|
||||
Standard_Real ftrim,ltrim;
|
||||
|
@ -123,7 +123,7 @@ protected:
|
||||
|
||||
Standard_EXPORT virtual Message_Msg GetWireMsg() const Standard_OVERRIDE;
|
||||
|
||||
//! Returns a message decsribing modification of a shape.
|
||||
//! Returns a message describing modification of a shape.
|
||||
Standard_EXPORT virtual Message_Msg GetEdgeMsg() const Standard_OVERRIDE;
|
||||
|
||||
|
||||
|
@ -122,7 +122,7 @@ protected:
|
||||
|
||||
Standard_EXPORT virtual Message_Msg GetWireMsg() const;
|
||||
|
||||
//! Returns a message decsribing modification of a shape.
|
||||
//! Returns a message describing modification of a shape.
|
||||
Standard_EXPORT virtual Message_Msg GetEdgeMsg() const;
|
||||
|
||||
|
||||
|
@ -66,7 +66,7 @@ public:
|
||||
|
||||
//! Returns True if the Case Number corresponds to a Complex Type
|
||||
//! ("Plex"). Remember that all possible combinations must be
|
||||
//! aknowledged to be processed
|
||||
//! acknowledged to be processed
|
||||
//! Default is False for all cases. For a Protocol which defines
|
||||
//! possible Plexes, this method must be redefined.
|
||||
Standard_EXPORT virtual Standard_Boolean IsComplex (const Standard_Integer CN) const;
|
||||
|
@ -21,7 +21,7 @@
|
||||
// The array of prime numbers used as consecutive steps for
|
||||
// size of array of buckets in the map.
|
||||
// The prime numbers are used for array size with the hope that this will
|
||||
// lead to less probablility of having the same hash codes for
|
||||
// lead to less probability of having the same hash codes for
|
||||
// different map items (note that all hash codes are modulo that size).
|
||||
// The value of each next step is chosen to be ~2 times greater than previous.
|
||||
// Though this could be thought as too much, actually the amount of
|
||||
|
@ -98,7 +98,7 @@ public:
|
||||
//! Returns True if the main label has no attributes
|
||||
Standard_EXPORT Standard_Boolean IsEmpty() const;
|
||||
|
||||
//! Returns False if the document has been modified
|
||||
//! Returns False if the document has been modified
|
||||
//! but not recomputed.
|
||||
Standard_EXPORT Standard_Boolean IsValid() const;
|
||||
|
||||
@ -198,7 +198,7 @@ public:
|
||||
Standard_EXPORT void UpdateReferences (const TCollection_AsciiString& aDocEntry);
|
||||
|
||||
//! Recompute if the document was not valid and propagate
|
||||
//! the reccorded modification.
|
||||
//! the recorded modification.
|
||||
Standard_EXPORT void Recompute();
|
||||
|
||||
//! This method Update will be called
|
||||
|
@ -57,7 +57,7 @@ void TDocStd_XLinkTool::Copy (const TDF_Label& target,
|
||||
}
|
||||
|
||||
|
||||
// Remove TreeNode, then resotre, if present
|
||||
// Remove TreeNode, then restore, if present
|
||||
Handle(TDataStd_TreeNode) aFather, aPrev, aNext;
|
||||
Handle(TDataStd_TreeNode) anOldFather, anOldPrev, anOldNext;
|
||||
Handle(TDataStd_TreeNode) aNode, anOldNode;
|
||||
|
@ -84,7 +84,7 @@ void TFunction_Logbook::Clear()
|
||||
|
||||
//=======================================================================
|
||||
//function : IsEmpty
|
||||
//purpose : Returns Standard_True if the nothing is reccorded in the logbook
|
||||
//purpose : Returns Standard_True if the nothing is recorded in the logbook
|
||||
//=======================================================================
|
||||
|
||||
Standard_Boolean TFunction_Logbook::IsEmpty () const
|
||||
|
@ -44,7 +44,7 @@ public:
|
||||
|
||||
Standard_EXPORT Transfer_ActorOfProcessForFinder();
|
||||
|
||||
//! Prerequesite for Transfer : the method Transfer is
|
||||
//! Prerequisite for Transfer : the method Transfer is
|
||||
//! called on a starting object only if Recognize has
|
||||
//! returned True on it
|
||||
//! This allows to define a list of Actors, each one
|
||||
|
@ -43,7 +43,7 @@ public:
|
||||
|
||||
Standard_EXPORT Transfer_ActorOfProcessForTransient();
|
||||
|
||||
//! Prerequesite for Transfer : the method Transfer is
|
||||
//! Prerequisite for Transfer : the method Transfer is
|
||||
//! called on a starting object only if Recognize has
|
||||
//! returned True on it
|
||||
//! This allows to define a list of Actors, each one
|
||||
|
@ -57,7 +57,7 @@ public:
|
||||
//! Returns the Model used for StartTrace
|
||||
Standard_EXPORT Handle(Interface_InterfaceModel) Model() const;
|
||||
|
||||
//! Sets a Graph : superseedes SetModel if already done
|
||||
//! Sets a Graph : supersedes SetModel if already done
|
||||
Standard_EXPORT void SetGraph (const Handle(Interface_HGraph)& HG);
|
||||
|
||||
Standard_EXPORT Standard_Boolean HasGraph() const;
|
||||
@ -89,7 +89,7 @@ public:
|
||||
|
||||
//! Returns the list of sharings entities, AT ANY LEVEL, which are
|
||||
//! kind of a given type. Calls TypedSharings from Graph
|
||||
//! Returns an empty list if the Graph has not been aknowledged
|
||||
//! Returns an empty list if the Graph has not been acknowledged
|
||||
Standard_EXPORT Interface_EntityIterator TypedSharings (const Handle(Standard_Transient)& start, const Handle(Standard_Type)& type) const;
|
||||
|
||||
//! Tells if an entity is well loaded from file (even if its data
|
||||
|
@ -167,7 +167,7 @@ Standard_Boolean XmlObjMgt::GetTagEntryString
|
||||
if (strncmp (aSource, aRefPrefix, aPrefixSize))
|
||||
return Standard_False;
|
||||
|
||||
// Beging aTagEntry string
|
||||
// Begin aTagEntry string
|
||||
char * aTagEntry =
|
||||
(char *) Standard::Allocate (strlen(aSource)/2); // quite enough to hold it
|
||||
char * aTagEntryPtr = aTagEntry + 1;
|
||||
|
@ -3,7 +3,7 @@ puts "OCC9848"
|
||||
puts "============"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# Specififying invalid name of unit produces exception.(for example tonne instead ton)
|
||||
# Specifying invalid name of unit produces exception.(for example tonne instead ton)
|
||||
#######################################################################
|
||||
|
||||
set BugNumber OCC9848
|
||||
|
@ -3,7 +3,7 @@ puts "OCC9848"
|
||||
puts "============"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# Specififying invalid name of unit produces exception.(for example tonne instead ton)
|
||||
# Specifying invalid name of unit produces exception.(for example tonne instead ton)
|
||||
#######################################################################
|
||||
|
||||
set BugNumber OCC9848
|
||||
|
@ -3,7 +3,7 @@ puts "OCC24003"
|
||||
puts "================"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# Exception reaised during intersection between two faces
|
||||
# Exception raised during intersection between two faces
|
||||
#######################################################################
|
||||
|
||||
restore [locate_data_file bug24003_fz33.brep] b1
|
||||
|
@ -3,7 +3,7 @@ puts "OCC26313"
|
||||
puts "============"
|
||||
puts ""
|
||||
#######################################################################
|
||||
# Method BRepBuilderAPI_GTransform::ModifiedShape(...) thows exception
|
||||
# Method BRepBuilderAPI_GTransform::ModifiedShape(...) throws exception
|
||||
#######################################################################
|
||||
|
||||
pload QAcommands
|
||||
|
@ -1,7 +1,7 @@
|
||||
puts "========"
|
||||
puts "OCC233"
|
||||
puts "========"
|
||||
puts "Problem during translation in dev in optimaze mode .Debug mode is OK)"
|
||||
puts "Problem during translation in dev in optimize mode .Debug mode is OK)"
|
||||
|
||||
stepread [locate_data_file Sbottle.stp] a *
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
puts "=========="
|
||||
puts "PRO19854"
|
||||
puts "=========="
|
||||
puts "Incorrect translation of one entity from STEP file in optimaze mode of C30."
|
||||
puts "Incorrect translation of one entity from STEP file in optimize mode of C30."
|
||||
|
||||
stepread [locate_data_file id_turbine-B.stp] a *
|
||||
|
||||
|
@ -3,7 +3,7 @@ puts "PRO19895"
|
||||
puts "=========="
|
||||
|
||||
#############################################################################
|
||||
## There is wrong tolerance after reading of the model in optimaze mode (C30). Retrieve entity number 2139 from file
|
||||
## There is wrong tolerance after reading of the model in optimize mode (C30). Retrieve entity number 2139 from file
|
||||
## "bm4_db_punch_a.stp" and will obtaine tolerance. It is very big and isolains extend from entity.
|
||||
#############################################################################
|
||||
|
||||
|
@ -3,7 +3,7 @@ puts "CR23699"
|
||||
puts "========="
|
||||
puts ""
|
||||
###############################
|
||||
## Exception reaised during intersection between two surfaces
|
||||
## Exception raised during intersection between two surfaces
|
||||
###############################
|
||||
|
||||
restore [locate_data_file bug23699_Compound_sigsegv.brep] b1
|
||||
|
@ -3,7 +3,7 @@ puts "CR23722"
|
||||
puts "========="
|
||||
puts ""
|
||||
###############################
|
||||
## Exception reaised during intersection between two surfaces
|
||||
## Exception raised during intersection between two surfaces
|
||||
###############################
|
||||
|
||||
restore [locate_data_file bug23732_fx1.brep] b1
|
||||
|
@ -10,7 +10,7 @@ chrono c reset; chrono c start;
|
||||
readstl m [locate_data_file model_stl_025.stl] -brep
|
||||
chrono c stop; chrono c show;
|
||||
|
||||
# Check that model is converted succesfully.
|
||||
# Check that model is converted successfully.
|
||||
checknbshapes m -face 54337;
|
||||
|
||||
# Visual check
|
||||
|
@ -1,5 +1,5 @@
|
||||
puts "========"
|
||||
puts "0029093: BOP PaveFiller hungs and constantly consumes memory"
|
||||
puts "0029093: BOP PaveFiller hangs and constantly consumes memory"
|
||||
puts "========"
|
||||
puts ""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user