mirror of
https://github.com/Open-Cascade-SAS/OCCT.git
synced 2026-05-11 10:10:56 +08:00
0028799: Coding Rules - elimilate confusing Quantity aliases of Standard_Real type
Aliases to Standard_Real within Quantity package have been marked as deprecated.
This commit is contained in:
@@ -106,9 +106,9 @@ const gp_Pnt& GeomAPI_IntCS::Point(const Standard_Integer Index) const
|
||||
//=======================================================================
|
||||
|
||||
void GeomAPI_IntCS::Parameters(const Standard_Integer Index,
|
||||
Quantity_Parameter& U,
|
||||
Quantity_Parameter& V,
|
||||
Quantity_Parameter& W) const
|
||||
Standard_Real& U,
|
||||
Standard_Real& V,
|
||||
Standard_Real& W) const
|
||||
{
|
||||
const IntCurveSurface_IntersectionPoint& ThePoint =
|
||||
myIntCS.Point(Index);
|
||||
@@ -156,10 +156,10 @@ Handle(Geom_Curve) GeomAPI_IntCS::Segment(const Standard_Integer Index) const
|
||||
//=======================================================================
|
||||
|
||||
void GeomAPI_IntCS::Parameters(const Standard_Integer Index,
|
||||
Quantity_Parameter& U1,
|
||||
Quantity_Parameter& V1,
|
||||
Quantity_Parameter& U2,
|
||||
Quantity_Parameter& V2) const
|
||||
Standard_Real& U1,
|
||||
Standard_Real& V1,
|
||||
Standard_Real& U2,
|
||||
Standard_Real& V2) const
|
||||
{
|
||||
const IntCurveSurface_IntersectionPoint& FirstPoint =
|
||||
myIntCS.Segment(Index).FirstPoint();
|
||||
|
||||
Reference in New Issue
Block a user