-- Created on: 1994-11-14 -- Created by: Bruno DUMORTIER -- Copyright (c) 1994-1999 Matra Datavision -- Copyright (c) 1999-2014 OPEN CASCADE SAS -- -- This file is part of Open CASCADE Technology software library. -- -- This library is free software; you can redistribute it and/or modify it under -- the terms of the GNU Lesser General Public License version 2.1 as published -- by the Free Software Foundation, with special exception defined in the file -- OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT -- distribution for complete text of the license and disclaimer of any warranty. -- -- Alternatively, this file may be used under the terms of Open CASCADE -- commercial license or contractual agreement. private class MultiLineTool from BRepFill ---Purpose: private class used to instantiate the continuous -- approximations routines. uses Pnt from gp, Pnt2d from gp, Vec from gp, Vec2d from gp, Array1OfPnt from TColgp, Array1OfPnt2d from TColgp, Array1OfVec from TColgp, Array1OfVec2d from TColgp, MultiLine from BRepFill is FirstParameter(myclass; ML: MultiLine from BRepFill) ---Purpose: returns the first parameter of the Line. returns Real from Standard; LastParameter(myclass; ML: MultiLine from BRepFill) ---Purpose: returns the last parameter of the Line. returns Real from Standard; NbP2d(myclass; ML: MultiLine from BRepFill) ---Purpose: Returns the number of 2d points of a MLine returns Integer from Standard; NbP3d(myclass; ML: MultiLine from BRepFill) ---Purpose: Returns the number of 3d points of a MLine. returns Integer from Standard; Value(myclass; ML : MultiLine from BRepFill; U : Real from Standard; tabPt: out Array1OfPnt from TColgp); ---Purpose: returns the 3d points of the multipoint -- when only 3d points exist. Value(myclass; ML : MultiLine from BRepFill; U : Real from Standard; tabPt2d: out Array1OfPnt2d from TColgp); ---Purpose: returns the 2d points of the multipoint -- when only 2d points exist. Value(myclass; ML : MultiLine from BRepFill; U : Real from Standard; tabPt : out Array1OfPnt from TColgp; tabPt2d: out Array1OfPnt2d from TColgp); ---Purpose: returns the 3d and 2d points of the multipoint -- . D1(myclass; ML : MultiLine from BRepFill; U : Real from Standard; tabV: out Array1OfVec from TColgp) returns Boolean from Standard; ---Purpose: returns the 3d derivative values of the multipoint -- when only 3d points exist. -- returns False if the derivative cannot be computed. D1(myclass; ML : MultiLine from BRepFill; U : Real from Standard; tabV2d: out Array1OfVec2d from TColgp) returns Boolean from Standard; ---Purpose: returns the 2d derivative values of the multipoint -- only when 2d points exist. -- returns False if the derivative cannot be computed. D1(myclass; ML : MultiLine from BRepFill; U : Real from Standard; tabV : out Array1OfVec from TColgp; tabV2d: out Array1OfVec2d from TColgp) returns Boolean from Standard; ---Purpose: returns the 3d and 2d derivative values of the -- multipoint . -- returns False if the derivative cannot be computed. end MultiLineTool;