RNV: Remove deprecated code.

This commit is contained in:
mnt 2017-07-06 16:28:26 +03:00
parent f798679a17
commit 338ca53024
4 changed files with 6 additions and 11 deletions

View File

@ -146,7 +146,7 @@ gp_Pnt CurveCreator_Utils::ConvertClickToPoint( int x, int y, Handle(V3d_View) a
// we need the projection to the XOY plane
// 1. find a point in the plane of the eye and the normal to the plane
Standard_Real X, Y, Z;
Quantity_Parameter Vx, Vy, Vz;
Standard_Real Vx, Vy, Vz;
aView->ConvertWithProj( x, y, X, Y, Z, Vx, Vy, Vz );
// 2. build a ray from the point by the normal to the XOY plane and intersect it

View File

@ -2029,7 +2029,7 @@ GEOMImpl_IMeasureOperations::AreCoordsInside(Handle(GEOM_Object) theShape
project.NbPoints() > 0 &&
project.LowerDistance() <= tolerance )
{
Quantity_Parameter u, v;
Standard_Real u, v;
project.LowerDistanceParameters(u, v);
gp_Pnt2d uv( u, v );
BRepClass_FaceClassifier FC ( face, uv, tolerance );

View File

@ -160,7 +160,7 @@ Standard_Integer GEOMImpl_ProjectionDriver::Execute(LOGBOOK& log) const
Standard_ConstructionError::Raise("No solution found");
}
Quantity_Parameter U, V;
Standard_Real U, V;
proj.LowerDistanceParameters(U, V);
gp_Pnt2d aProjPnt (U, V);
@ -170,7 +170,7 @@ Standard_Integer GEOMImpl_ProjectionDriver::Execute(LOGBOOK& log) const
bool isSol = false;
double minDist = RealLast();
for (int i = 1; i <= nbPoints; i++) {
Quantity_Parameter Ui, Vi;
Standard_Real Ui, Vi;
proj.Parameters(i, Ui, Vi);
aProjPnt = gp_Pnt2d(Ui, Vi);
aClsf.Perform(aFace, aProjPnt, tol);

View File

@ -76,11 +76,6 @@
#include <TColgp_SequenceOfDir.hxx>
#include <V3d_View.hxx>
#if OCC_VERSION_LARGE >= 0x07010000
#include <Quantity_Parameter.hxx>
#endif
// plane associated with custom data
struct PlaneAndSegment
{
@ -1151,8 +1146,8 @@ template <typename TPlane>
TPlane MeasureGUI_DimensionCreateTool::SelectPlaneForProjection( const NCollection_Sequence<TPlane>& thePlanes,
const Handle(V3d_View)& theView ) const
{
Quantity_Parameter U[3];
Quantity_Parameter N[3];
Standard_Real U[3];
Standard_Real N[3];
theView->Up( U[0], U[1], U[2] );
theView->Proj( N[0], N[1], N[2] );