Fix typos in TD and FEM source comments/documentation [skip ci]

This commit is contained in:
luz paz
2022-11-07 07:17:46 -05:00
committed by WandererFan
parent 308fa5b73a
commit e75ffa0566
6 changed files with 7 additions and 7 deletions

View File

@@ -413,7 +413,7 @@ TopoDS_Shape DrawComplexSection::makeAlignedPieces(const TopoDS_Shape &rawShape,
TopoDS_Shape pieceRotated = mkTransRotate.Shape();
//align a copy of the piece with OXYZ so we can use bounding box to get
//width, depth, height of the piece. We copy the piece so the tranformation
//width, depth, height of the piece. We copy the piece so the transformation
//does not affect the original.
BRepBuilderAPI_Copy BuilderPieceCopy(pieceRotated);
TopoDS_Shape copyPieceRotatedShape = BuilderPieceCopy.Shape();

View File

@@ -1006,7 +1006,7 @@ bool DrawViewPart::hasGeometry(void) const
return false;
}
//convert a vector in local XY coords into a coordinate sytem in global
//convert a vector in local XY coords into a coordinate system in global
//coordinates aligned to the vector.
//Note that this CS may not have the ideal XDirection for the derived view
//(likely a DrawViewSection) and the user may need to adjust the XDirection

View File

@@ -887,7 +887,7 @@ void QGIViewPart::drawComplexSectionLine(TechDraw::DrawViewSection* viewSection,
wirePath.connectPath(firstSeg);
int edgeCount = edges.size();
//NOTE: if the edges are not in nose to tail order, Qt will insert extra segments
//that will overlap the segments we add. for interupted line styles, this
//that will overlap the segments we add. for interrupted line styles, this
//will make the line look continuous. This is prevented in
//DrawComplexSection::makeSectionLineGeometry by calling makeNoseToTailWire
for (int i = 1; i < edgeCount; i++) {

View File

@@ -170,7 +170,7 @@ void TaskComplexSection::setUiPrimary()
m_saveNormal = dirs.first;
m_localUnit = dirs.first;
m_saveXDir = dirs.second;
m_viewDirectionWidget->setValue(m_saveNormal * -1.0); //this will propogate to m_compass
m_viewDirectionWidget->setValue(m_saveNormal * -1.0); //this will propagate to m_compass
}
//don't allow updates until a direction is picked