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:
@@ -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();
|
||||
|
||||
|
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user