1 // Created on: 2008-12-28
2 // Created by: Roman Lygin
3 // Copyright (c) 2008-2014 OPEN CASCADE SAS
5 // This file is part of Open CASCADE Technology software library.
7 // This library is free software; you can redistribute it and/or modify it under
8 // the terms of the GNU Lesser General Public License version 2.1 as published
9 // by the Free Software Foundation, with special exception defined in the file
10 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
11 // distribution for complete text of the license and disclaimer of any warranty.
13 // Alternatively, this file may be used under the terms of Open CASCADE
14 // commercial license or contractual agreement.
16 // roman.lygin@gmail.com
18 #include <StdFail_NotDone.hxx>
19 #include <TColStd_HArray1OfReal.hxx>
21 //=======================================================================
24 //=======================================================================
26 inline Standard_Boolean Extrema_CurveCache::IsValid() const
28 return myIsArrayValid;
31 //=======================================================================
32 //function : Parameters
34 //=======================================================================
36 inline const Handle(TColStd_HArray1OfReal)& Extrema_CurveCache::Parameters() const
38 StdFail_NotDone_Raise_if (!myIsArrayValid, "Extrema_CurveCache::Parameters()")
42 //=======================================================================
45 //=======================================================================
47 inline const Handle(ArrayOfPnt)& Extrema_CurveCache::Points() const
49 StdFail_NotDone_Raise_if (!myIsArrayValid, "Extrema_CurveCache::Points()")
53 //=======================================================================
56 //=======================================================================
58 inline Standard_Address Extrema_CurveCache::CurvePtr() const
63 //=======================================================================
64 //function : NbSamples
66 //=======================================================================
68 inline Standard_Integer Extrema_CurveCache::NbSamples() const
73 //=======================================================================
74 //function : FirstParameter
76 //=======================================================================
78 inline Standard_Real Extrema_CurveCache::FirstParameter() const
83 //=======================================================================
84 //function : LastParameter
86 //=======================================================================
88 inline Standard_Real Extrema_CurveCache::LastParameter() const
93 //=======================================================================
94 //function : TrimFirstParameter
96 //=======================================================================
98 inline Standard_Real Extrema_CurveCache::TrimFirstParameter() const
103 //=======================================================================
104 //function : TrimLastParameter
106 //=======================================================================
108 inline Standard_Real Extrema_CurveCache::TrimLastParameter() const