Open CASCADE Technology
6.5.4
|
This class describes a MultiBSpCurve approximating a Multiline.
Just as a Multiline is a set of a given number of lines, a MultiBSpCurve is a set
of a specified number of bsplines defined by:
More...
#include <AppParCurves_MultiBSpCurve.hxx>
Public Member Functions | |
DEFINE_STANDARD_ALLOC | AppParCurves_MultiBSpCurve () |
returns an indefinite MultiBSpCurve. | |
AppParCurves_MultiBSpCurve (const Standard_Integer NbPol) | |
creates a MultiBSpCurve, describing BSpline curves all containing the same number of MultiPoint. An exception is raised if Degree < 0. | |
AppParCurves_MultiBSpCurve (const AppParCurves_Array1OfMultiPoint &tabMU, const TColStd_Array1OfReal &Knots, const TColStd_Array1OfInteger &Mults) | |
creates a MultiBSpCurve, describing BSpline curves all containing the same number of MultiPoint. Each MultiPoint must have NbCurves Poles. | |
AppParCurves_MultiBSpCurve (const AppParCurves_MultiCurve &SC, const TColStd_Array1OfReal &Knots, const TColStd_Array1OfInteger &Mults) | |
creates a MultiBSpCurve, describing BSpline curves, taking control points from <SC>. | |
void | SetKnots (const TColStd_Array1OfReal &theKnots) |
Knots of the multiBSpCurve are assigned to <theknots>. | |
void | SetMultiplicities (const TColStd_Array1OfInteger &theMults) |
Multiplicities of the multiBSpCurve are assigned to <theMults>. | |
const TColStd_Array1OfReal & | Knots () const |
Returns an array of Reals containing the multiplicities of curves resulting from the approximation. | |
const TColStd_Array1OfInteger & | Multiplicities () const |
Returns an array of Reals containing the multiplicities of curves resulting from the approximation. | |
virtual Standard_Integer | Degree () const |
returns the degree of the curve(s). | |
virtual void | Value (const Standard_Integer CuIndex, const Standard_Real U, gp_Pnt &Pt) const |
returns the value of the point with a parameter U on the BSpline curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 2d. | |
virtual void | Value (const Standard_Integer CuIndex, const Standard_Real U, gp_Pnt2d &Pt) const |
returns the value of the point with a parameter U on the BSpline curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 3d. | |
virtual void | D1 (const Standard_Integer CuIndex, const Standard_Real U, gp_Pnt &Pt, gp_Vec &V1) const |
returns the value of the point with a parameter U on the BSpline curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 3d. | |
virtual void | D1 (const Standard_Integer CuIndex, const Standard_Real U, gp_Pnt2d &Pt, gp_Vec2d &V1) const |
returns the value of the point with a parameter U on the BSpline curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 2d. | |
virtual void | D2 (const Standard_Integer CuIndex, const Standard_Real U, gp_Pnt &Pt, gp_Vec &V1, gp_Vec &V2) const |
returns the value of the point with a parameter U on the BSpline curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 3d. | |
virtual void | D2 (const Standard_Integer CuIndex, const Standard_Real U, gp_Pnt2d &Pt, gp_Vec2d &V1, gp_Vec2d &V2) const |
returns the value of the point with a parameter U on the BSpline curve number CuIndex. An exception is raised if CuIndex <0 or > NbCurves. An exception is raised if the curve dimension is 2d. | |
virtual void | Dump (Standard_OStream &o) const |
Prints on the stream o information on the current state of the object. Is used to redefine the operator <<. |
AppParCurves_MultiBSpCurve::AppParCurves_MultiBSpCurve | ( | const AppParCurves_Array1OfMultiPoint & | tabMU, |
const TColStd_Array1OfReal & | Knots, | ||
const TColStd_Array1OfInteger & | Mults | ||
) |
AppParCurves_MultiBSpCurve::AppParCurves_MultiBSpCurve | ( | const AppParCurves_MultiCurve & | SC, |
const TColStd_Array1OfReal & | Knots, | ||
const TColStd_Array1OfInteger & | Mults | ||
) |
virtual void AppParCurves_MultiBSpCurve::D1 | ( | const Standard_Integer | CuIndex, |
const Standard_Real | U, | ||
gp_Pnt & | Pt, | ||
gp_Vec & | V1 | ||
) | const [virtual] |
Reimplemented from AppParCurves_MultiCurve.
virtual void AppParCurves_MultiBSpCurve::D1 | ( | const Standard_Integer | CuIndex, |
const Standard_Real | U, | ||
gp_Pnt2d & | Pt, | ||
gp_Vec2d & | V1 | ||
) | const [virtual] |
Reimplemented from AppParCurves_MultiCurve.
virtual void AppParCurves_MultiBSpCurve::D2 | ( | const Standard_Integer | CuIndex, |
const Standard_Real | U, | ||
gp_Pnt & | Pt, | ||
gp_Vec & | V1, | ||
gp_Vec & | V2 | ||
) | const [virtual] |
Reimplemented from AppParCurves_MultiCurve.
virtual void AppParCurves_MultiBSpCurve::D2 | ( | const Standard_Integer | CuIndex, |
const Standard_Real | U, | ||
gp_Pnt2d & | Pt, | ||
gp_Vec2d & | V1, | ||
gp_Vec2d & | V2 | ||
) | const [virtual] |
Reimplemented from AppParCurves_MultiCurve.
virtual Standard_Integer AppParCurves_MultiBSpCurve::Degree | ( | ) | const [virtual] |
Reimplemented from AppParCurves_MultiCurve.
virtual void AppParCurves_MultiBSpCurve::Dump | ( | Standard_OStream & | o | ) | const [virtual] |
Reimplemented from AppParCurves_MultiCurve.
void AppParCurves_MultiBSpCurve::SetKnots | ( | const TColStd_Array1OfReal & | theKnots | ) |
virtual void AppParCurves_MultiBSpCurve::Value | ( | const Standard_Integer | CuIndex, |
const Standard_Real | U, | ||
gp_Pnt & | Pt | ||
) | const [virtual] |
Reimplemented from AppParCurves_MultiCurve.
virtual void AppParCurves_MultiBSpCurve::Value | ( | const Standard_Integer | CuIndex, |
const Standard_Real | U, | ||
gp_Pnt2d & | Pt | ||
) | const [virtual] |
Reimplemented from AppParCurves_MultiCurve.