Vec from gp,
BSplKnotDistribution from GeomAbs,
Geometry from Geom,
- Shape from GeomAbs,
- Mutex from Standard
+ Shape from GeomAbs
raises ConstructionError from Standard,
---Purpose :
-- Returns True if the weights are not identical.
-- The tolerance criterion is Epsilon of the class Real.
-
- IsCacheValid(me; Parameter : Real) returns Boolean
-
- ---Purpose :
- -- Tells whether the Cache is valid for the
- -- given parameter
- -- Warnings : the parameter must be normalized within
- -- the period if the curve is periodic. Otherwise
- -- the answer will be false
- --
- is static private;
Continuity (me) returns Shape from GeomAbs;
---Purpose :
raises DimensionError;
---Purpose :
-- Raised if the length of K is not equal to the number of knots.
+ Knots (me)
+ returns Array1OfReal from TColStd
+ ---Purpose : returns the knot values of the B-spline curve;
+ -- Warning
+ -- A knot with a multiplicity greater than 1 is not
+ -- repeated in the knot table. The Multiplicity function
+ -- can be used to obtain the multiplicity of each knot.
+ ---C++ : return const &
+ is static;
KnotSequence (me; K : out Array1OfReal from TColStd)
-- Standard_DimensionError if the array K is not of
-- the appropriate length.Returns the knots sequence.
raises DimensionError;
+ KnotSequence (me)
+ returns Array1OfReal from TColStd
+ ---Purpose : returns the knots of the B-spline curve.
+ -- Knots with multiplicit greater than 1 are repeated
+ ---C++ : return const &
+ is static;
raises DimensionError;
---Purpose :
-- Raised if the length of M is not equal to NbKnots.
+ Multiplicities (me)
+ returns Array1OfInteger from TColStd
+ ---Purpose : returns the multiplicity of the knots of the curve.
+ ---C++ : return const &
+ is static;
NbKnots (me) returns Integer;
raises DimensionError;
---Purpose :
-- Raised if the length of P is not equal to the number of poles.
+ Poles (me)
+ returns Array1OfPnt from TColgp
+ ---Purpose : Returns the poles of the B-spline curve;
+ ---C++ : return const &
+ is static;
StartPoint (me) returns Pnt;
raises DimensionError;
---Purpose :
-- Raised if the length of W is not equal to NbPoles.
+ Weights (me)
+ returns Array1OfReal from TColStd
+ ---Purpose : Returns the weights of the B-spline curve;
+ ---C++ : return const &
+ is static;
Copy (me) returns like me;
---Purpose: Creates a new object which is a copy of this BSpline curve.
-
- InvalidateCache(me : mutable)
- ---Purpose : Invalidates the cache. This has to be private
- -- this has to be private
- is static private;
UpdateKnots(me : mutable)
---Purpose : Recompute the flatknots, the knotsdistribution, the continuity.
is static private;
-
- ValidateCache(me : mutable ; Parameter : Real)
-
- is static private;
- ---Purpose : updates the cache and validates it
IsEqual(me; theOther : BSplineCurve from Geom;
thePreci : Real from Standard ) returns Boolean;
flatknots : HArray1OfReal from TColStd;
knots : HArray1OfReal from TColStd;
mults : HArray1OfInteger from TColStd;
- cachepoles : HArray1OfPnt from TColgp;
- -- Taylor expansion of the poles function, in homogeneous
- -- form if the curve is rational. The taylor expansion
- -- is normalized so that the span corresponds to
- -- [0 1] see below
- cacheweights : HArray1OfReal from TColStd;
- -- Taylor expansion of the poles function, in homogeneous
- -- form if the curve is rational. The taylor expansion
- -- is normalized so that the span corresponds to
- -- [0 1] see below
- validcache : Integer;
- -- = 1 the cache is valid
- -- = 0 the cache is invalid
- parametercache : Real;
- -- Parameter at which the Taylor expension is stored in
- -- the cache
- spanlenghtcache : Real;
- -- Since the Taylor expansion is normalized in the
- -- cache to evaluate the cache one has to use
- -- (Parameter - parametercache) / nspanlenghtcache
- spanindexcache : Integer;
- -- the span for which the cache is valid if
- -- validcache is 1
-
- -- usefull to evaluate the parametric resolution
maxderivinv : Real from Standard;
maxderivinvok : Boolean from Standard;
- myMutex : Mutex from Standard;
- -- protected bspline-cache
end;