mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0026936: Drawbacks of inlining in new type system in OCCT 7.0 -- automatic
Automatic restore of IMPLEMENT_STANDARD_RTTIEXT macro (upgrade -rtti)
This commit is contained in:
@@ -78,7 +78,7 @@ void PointOnCurve_Presentation::DoSample()
|
||||
// Purpose : creating a BSpline Curve
|
||||
//================================================================
|
||||
|
||||
static Handle_Geom_BSplineCurve CreateCurve()
|
||||
static Handle(Geom_BSplineCurve) CreateCurve()
|
||||
{
|
||||
Standard_Real aCoords[][3] =
|
||||
{
|
||||
@@ -196,7 +196,7 @@ void PointOnCurve_Presentation::sample1()
|
||||
gce_MakeLin aLin(aPoint1, aPoint2);
|
||||
|
||||
Standard_Real aParam = aPoint1.Distance(aPoint2);
|
||||
Handle_Geom_TrimmedCurve aSeg = new Geom_TrimmedCurve(new Geom_Line(aLin), 0, aParam);
|
||||
Handle(Geom_TrimmedCurve) aSeg = new Geom_TrimmedCurve(new Geom_Line(aLin), 0, aParam);
|
||||
drawCurve(aSeg, Quantity_NOC_GREEN1);
|
||||
}
|
||||
if (WAIT_A_LITTLE) return;
|
||||
|
Reference in New Issue
Block a user