mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0031939: Coding - correction of spelling errors in comments [part 6]
Fix various typos Fixed via `codespell v2.1.dev
This commit is contained in:
@@ -95,7 +95,7 @@ void DsgPrs_AnglePresentation::Add (const Handle(Prs3d_Presentation)& aPresentat
|
||||
gp_Pnt P1 = ElCLib::Value(0., myCircle);
|
||||
gp_Pnt P2 = ElCLib::Value(M_PI, myCircle);
|
||||
|
||||
gce_MakePln mkPln(P1, P2, Apex); // create a plane whitch defines plane for projection aPosition on it
|
||||
gce_MakePln mkPln(P1, P2, Apex); // create a plane which defines plane for projection aPosition on it
|
||||
|
||||
gp_Vec aVector( mkPln.Value().Location(), aPosition ); //project aPosition on a plane
|
||||
gp_Vec Normal = mkPln.Value().Axis().Direction();
|
||||
@@ -116,7 +116,7 @@ void DsgPrs_AnglePresentation::Add (const Handle(Prs3d_Presentation)& aPresentat
|
||||
OppositePnt = P1;
|
||||
}
|
||||
|
||||
aPnt = AttachmentPnt ; // Creating of circle whitch defines a plane for a dimension arc
|
||||
aPnt = AttachmentPnt ; // Creating of circle which defines a plane for a dimension arc
|
||||
gp_Vec Vec(AttachmentPnt, Apex); // Dimension arc is a part of the circle
|
||||
Vec.Scale(2.);
|
||||
aPnt.Translate(Vec);
|
||||
|
@@ -27,7 +27,7 @@ public:
|
||||
DEFINE_STANDARD_ALLOC
|
||||
|
||||
//! Draw XYZ axes at specified location with attributes defined by the attribute manager theDrawer:
|
||||
//! - Prs3d_DatumAspect defines arrow, line and lenght trihedron axis parameters,
|
||||
//! - Prs3d_DatumAspect defines arrow, line and length trihedron axis parameters,
|
||||
//! - Prs3d_TextAspect defines displayed text.
|
||||
//! The thihedron origin and axis directions are defined by theDatum coordinate system.
|
||||
//! DsgPrs_XYZAxisPresentation framework is used to create graphical primitives for each axis.
|
||||
|
@@ -38,7 +38,7 @@ public:
|
||||
//! draws the presentation of fixed objects by
|
||||
//! drawing the 'fix' symbol at position <aPntEnd>.
|
||||
//! A binding segment is drawn between <aPntAttach>
|
||||
//! ( which belongs the the fix object) and <aPntEnd>.
|
||||
//! ( which belongs to the fixed object) and <aPntEnd>.
|
||||
//! aSymbSize is the size of the 'fix'symbol
|
||||
Standard_EXPORT static void Add (const Handle(Prs3d_Presentation)& aPresentation, const Handle(Prs3d_Drawer)& aDrawer, const gp_Pnt& aPntAttach, const gp_Pnt& aPntEnd, const gp_Dir& aNormPln, const Standard_Real aSymbSize);
|
||||
|
||||
|
@@ -45,7 +45,7 @@ public:
|
||||
//! defined by the attribute manager aDrawer.
|
||||
Standard_EXPORT static void Add (const Handle(Prs3d_Presentation)& aPresentation, const Handle(Prs3d_Drawer)& aDrawer, const TCollection_ExtendedString& aText, const gp_Pnt& AttachmentPoint1, const gp_Pnt& AttachmentPoint2, const gp_Dir& aDirection, const gp_Dir& aDirection2, const gp_Pnt& OffsetPoint);
|
||||
|
||||
//! draws the representation of axes alignement Constraint
|
||||
//! draws the representation of axes alignment Constraint
|
||||
//! between the point AttachmentPoint1 and the
|
||||
//! point AttachmentPoint2, along direction
|
||||
//! aDirection, using the offset point OffsetPoint.
|
||||
|
@@ -75,13 +75,13 @@ void DsgPrs_SymmetricPresentation::Add (const Handle(Prs3d_Presentation)& aPrese
|
||||
|
||||
gp_Pnt P1,P2;
|
||||
|
||||
//===================================
|
||||
// SYMETRY OF EDGE PERPEND. TO THE AXIS
|
||||
//======================================
|
||||
// SYMMETRY OF EDGE PERPEND. TO THE AXIS
|
||||
// ____ : ____
|
||||
// edge2 | : -=- | edge 1
|
||||
// |<------:------>|
|
||||
// :
|
||||
//===================================
|
||||
//======================================
|
||||
|
||||
if (VLa.Dot(VL1) == 0) {
|
||||
P1 = AttachmentPoint1.Translated(VLa);
|
||||
@@ -124,7 +124,7 @@ void DsgPrs_SymmetricPresentation::Add (const Handle(Prs3d_Presentation)& aPrese
|
||||
|
||||
/*=======================================================
|
||||
TO AVOID CROSSING
|
||||
P1 -=- P2 P2 -=- P1
|
||||
P1 -=- P2 P2 -=- P1
|
||||
\<-->/ |<-->|
|
||||
\ / | |
|
||||
\/ | |
|
||||
@@ -143,13 +143,13 @@ void DsgPrs_SymmetricPresentation::Add (const Handle(Prs3d_Presentation)& aPrese
|
||||
PntTempo = P1;
|
||||
P1 = P2;
|
||||
P2 = PntTempo;
|
||||
}
|
||||
}
|
||||
/*===================================
|
||||
FRACTURES OF TRAITS OF CALL
|
||||
FRACTURES OF TRAITS OF CALL
|
||||
/ \
|
||||
/ \
|
||||
| -=- |
|
||||
|<------------->|
|
||||
|<------------->|
|
||||
===================================*/
|
||||
|
||||
gp_Vec Vfix;
|
||||
@@ -226,7 +226,7 @@ void DsgPrs_SymmetricPresentation::Add (const Handle(Prs3d_Presentation)& aPrese
|
||||
}
|
||||
|
||||
/*===================================
|
||||
FRACTURES OF PROCESSING OF CALL
|
||||
FRACTURES OF PROCESSING OF CALL
|
||||
-=-
|
||||
|<--------->|
|
||||
| |
|
||||
@@ -395,8 +395,8 @@ void DsgPrs_SymmetricPresentation::Add (const Handle(Prs3d_Presentation)& aPrese
|
||||
aPrims->AddVertex(pOff.Translated(vec1.Reversed().Added(vec2.Reversed())));
|
||||
|
||||
/*--------------------------------------------------------------------------------------
|
||||
| MARKING OF THE SYMMETRY AXIS |
|
||||
--------------------------------------------------------------------------------------
|
||||
| MARKING OF THE SYMMETRY AXIS |
|
||||
----------------------------------------------------------------------------------------
|
||||
____
|
||||
\ / :Cursor
|
||||
\/
|
||||
@@ -634,7 +634,7 @@ void DsgPrs_SymmetricPresentation::Add (const Handle(Prs3d_Presentation)& aPrese
|
||||
|
||||
/*--------------------------------------------------------------------------------------
|
||||
| MARKING OF THE AXIS OF SYMMETRY |
|
||||
--------------------------------------------------------------------------------------
|
||||
--------------------------------------------------------------------------------------
|
||||
____
|
||||
\ / :Cursor
|
||||
\/
|
||||
@@ -706,11 +706,11 @@ void DsgPrs_SymmetricPresentation::Add (const Handle(Prs3d_Presentation)& aPrese
|
||||
aPrims->AddVertex(OffsetPoint);
|
||||
|
||||
//--------------------------------------------------------------------------------------
|
||||
//| SYMBOL OF SYMMETRY |
|
||||
//| SYMBOL OF SYMMETRY |
|
||||
//--------------------------------------------------------------------------------------
|
||||
// ------- : Superior Segment
|
||||
// ------- : Superior Segment
|
||||
// ----------- : Axis
|
||||
// ------- : Inferior Segment
|
||||
// ------- : Inferior Segment
|
||||
|
||||
//Calculate extremas of the axis of the symbol
|
||||
gp_Vec VAO (AttachmentPoint1,OffsetPoint);
|
||||
@@ -824,7 +824,7 @@ void DsgPrs_SymmetricPresentation::Add (const Handle(Prs3d_Presentation)& aPrese
|
||||
//| SYMBOL OF SYMMETRY |
|
||||
//-------------------------------------------------------------------------------------
|
||||
|
||||
// ------- : Superior Segment
|
||||
// ------- : Superior Segment
|
||||
// ----------- : Axis
|
||||
// ------- : Inferior Segment
|
||||
|
||||
@@ -866,8 +866,8 @@ void DsgPrs_SymmetricPresentation::Add (const Handle(Prs3d_Presentation)& aPrese
|
||||
aPrims->AddVertex(pOff.Translated(vec1.Reversed().Added(vec2.Reversed())));
|
||||
|
||||
/*--------------------------------------------------------------------------------------
|
||||
| MARKING OF THE AXIS OF SYMMETRY |
|
||||
--------------------------------------------------------------------------------------
|
||||
| MARKING OF THE AXIS OF SYMMETRY |
|
||||
----------------------------------------------------------------------------------------
|
||||
____
|
||||
\ / :Cursor
|
||||
\/
|
||||
|
Reference in New Issue
Block a user