1
0
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 2]

Fix various typos

Fixed via `codespell v2.0.dev`
This commit is contained in:
luz paz
2020-11-30 12:55:48 +03:00
committed by kgv
parent d66f7c0fa2
commit a110c4a377
106 changed files with 211 additions and 207 deletions

View File

@@ -65,7 +65,7 @@ static void Sample()
//Getting AIS_InteractiveContext from TPrsStd_AISViewer may be done in two ways:
//1. If we have already gotten TPrsStd_AISViewer attribute (strored in a variable <aisviewer>)
//1. If we have already gotten TPrsStd_AISViewer attribute (stored in a variable <aisviewer>)
Handle(AIS_InteractiveContext) context1 = aisviewer->GetInteractiveContext();
//2. Getting AIS_InteractiveContext directly
@@ -184,16 +184,16 @@ static void Sample()
P->Display(Standard_True);
TPrsStd_AISViewer::Update(ShapeLabel); //Update presenation of the attribute in a viewer's window
//Getting Standard_GUID of attribute with which TPrsStd_AISPresentation attribute is associeted
//Getting Standard_GUID of attribute with which TPrsStd_AISPresentation attribute is associated
Standard_GUID guid = P->GetDriverGUID();
//Setting a color to the displayd attribute
//Setting a color to the displayed attribute
P->SetColor(Quantity_NOC_RED);
TPrsStd_AISViewer::Update(ShapeLabel); //Update viewer to make changes visible to user
//Getting transparency the displayd attribute
//Getting transparency the displayed attribute
Standard_Real transparency = P->Transparency();