1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

0024845: CLang warnings -Wunused-variable

Unused variables were removed.
This commit is contained in:
ski
2014-04-17 15:48:25 +04:00
committed by abv
parent a874a4a076
commit 276130e701
5 changed files with 3 additions and 10 deletions

View File

@@ -1242,10 +1242,6 @@ void AIS_AngleDimension::AdjustParameters (const gp_Pnt& theTextPos,
Handle(Prs3d_DimensionAspect) aDimensionAspect = myDrawer->DimensionAspect();
Standard_Real anArrowLength = aDimensionAspect->ArrowAspect()->Length();
// Compute flyout direction vector.
gp_Dir aPlaneNormal = GetPlane().Axis().Direction();
gp_Dir aTargetPointsDir = gce_MakeDir (myFirstPoint, mySecondPoint);
// Build circle with radius that is equal to distance from text position to the center point.
Standard_Real aRadius = gp_Vec (myCenterPoint, theTextPos).Magnitude();

View File

@@ -1532,8 +1532,6 @@ void AIS_Dimension::FitTextAlignmentForLinear (const gp_Pnt& theFirstPoint,
Handle(Prs3d_DimensionAspect) aDimensionAspect = myDrawer->DimensionAspect();
gp_Lin aDimensionLine = gce_MakeLin (aLineBegPoint, aLineEndPoint);
// For extensions we need to know arrow size, text size and extension size: get it from aspect
Quantity_Length anArrowLength = aDimensionAspect->ArrowAspect()->Length();