Open CASCADE Technology 6.6.0
|
The LineTool class provides class methods to
access the methodes of the Line.
#include <HLRBRep_LineTool.hxx>
Static Public Member Functions | |
static Standard_Real | FirstParameter (const gp_Lin &C) |
static Standard_Real | LastParameter (const gp_Lin &C) |
static GeomAbs_Shape | Continuity (const gp_Lin &C) |
static Standard_Integer | NbIntervals (const gp_Lin &C, const GeomAbs_Shape S) |
If necessary, breaks the line in intervals of continuity <S>. And returns the number of intervals. | |
static void | Intervals (const gp_Lin &C, TColStd_Array1OfReal &T, const GeomAbs_Shape Sh) |
Sets the current working interval. | |
static Standard_Real | IntervalFirst (const gp_Lin &C) |
Returns the first parameter of the current interval. | |
static Standard_Real | IntervalLast (const gp_Lin &C) |
Returns the last parameter of the current interval. | |
static GeomAbs_Shape | IntervalContinuity (const gp_Lin &C) |
static Standard_Boolean | IsClosed (const gp_Lin &C) |
static Standard_Boolean | IsPeriodic (const gp_Lin &C) |
static Standard_Real | Period (const gp_Lin &C) |
static gp_Pnt | Value (const gp_Lin &C, const Standard_Real U) |
Computes the point of parameter U on the line. | |
static void | D0 (const gp_Lin &C, const Standard_Real U, gp_Pnt &P) |
Computes the point of parameter U on the line. | |
static void | D1 (const gp_Lin &C, const Standard_Real U, gp_Pnt &P, gp_Vec &V) |
Computes the point of parameter U on the line with its first derivative. //! Raised if the continuity of the current interval is not C1. | |
static void | D2 (const gp_Lin &C, const Standard_Real U, gp_Pnt &P, gp_Vec &V1, gp_Vec &V2) |
Returns the point P of parameter U, the first and second derivatives V1 and V2. //! Raised if the continuity of the current interval is not C2. | |
static void | D3 (const gp_Lin &C, const Standard_Real U, gp_Pnt &P, gp_Vec &V1, gp_Vec &V2, gp_Vec &V3) |
Returns the point P of parameter U, the first, the second and the third derivative. //! Raised if the continuity of the current interval is not C3. | |
static gp_Vec | DN (const gp_Lin &C, const Standard_Real U, const Standard_Integer N) |
The returned vector gives the value of the derivative for the order of derivation N. //! Raised if the continuity of the current interval is not CN. //! Raised if N < 1. | |
static Standard_Real | Resolution (const gp_Lin &C, const Standard_Real R3d) |
Returns the parametric resolution corresponding to the real space resolution <R3d>. | |
static GeomAbs_CurveType | GetType (const gp_Lin &C) |
Returns the type of the line in the current interval : Line, Circle, Ellipse, Hyperbola, Parabola, BezierCurve, BSplineCurve, OtherCurve. | |
static gp_Lin | Line (const gp_Lin &C) |
static gp_Circ | Circle (const gp_Lin &C) |
static gp_Elips | Ellipse (const gp_Lin &C) |
static gp_Hypr | Hyperbola (const gp_Lin &C) |
static gp_Parab | Parabola (const gp_Lin &C) |
static Handle_Geom_BezierCurve | Bezier (const gp_Lin &C) |
static Handle_Geom_BSplineCurve | BSpline (const gp_Lin &C) |
static Standard_Integer | Degree (const gp_Lin &C) |
static Standard_Integer | NbPoles (const gp_Lin &C) |
static void | Poles (const gp_Lin &C, TColgp_Array1OfPnt &TP) |
static Standard_Boolean | IsRational (const gp_Lin &C) |
static void | PolesAndWeights (const gp_Lin &C, TColgp_Array1OfPnt &TP, TColStd_Array1OfReal &TW) |
static Standard_Integer | NbKnots (const gp_Lin &C) |
static void | KnotsAndMultiplicities (const gp_Lin &C, TColStd_Array1OfReal &TK, TColStd_Array1OfInteger &TM) |
static Standard_Integer | NbSamples (const gp_Lin &C, const Standard_Real U0, const Standard_Real U1) |
static void | SamplePars (const gp_Lin &C, const Standard_Real U0, const Standard_Real U1, const Standard_Real Defl, const Standard_Integer NbMin, Handle< TColStd_HArray1OfReal > &Pars) |
static Handle_Geom_BezierCurve HLRBRep_LineTool::Bezier | ( | const gp_Lin & | C | ) | [static] |
static Handle_Geom_BSplineCurve HLRBRep_LineTool::BSpline | ( | const gp_Lin & | C | ) | [static] |
static GeomAbs_Shape HLRBRep_LineTool::Continuity | ( | const gp_Lin & | C | ) | [static] |
static void HLRBRep_LineTool::D0 | ( | const gp_Lin & | C, |
const Standard_Real | U, | ||
gp_Pnt & | P | ||
) | [static] |
static void HLRBRep_LineTool::D1 | ( | const gp_Lin & | C, |
const Standard_Real | U, | ||
gp_Pnt & | P, | ||
gp_Vec & | V | ||
) | [static] |
static void HLRBRep_LineTool::D2 | ( | const gp_Lin & | C, |
const Standard_Real | U, | ||
gp_Pnt & | P, | ||
gp_Vec & | V1, | ||
gp_Vec & | V2 | ||
) | [static] |
static void HLRBRep_LineTool::D3 | ( | const gp_Lin & | C, |
const Standard_Real | U, | ||
gp_Pnt & | P, | ||
gp_Vec & | V1, | ||
gp_Vec & | V2, | ||
gp_Vec & | V3 | ||
) | [static] |
static Standard_Integer HLRBRep_LineTool::Degree | ( | const gp_Lin & | C | ) | [static] |
static gp_Vec HLRBRep_LineTool::DN | ( | const gp_Lin & | C, |
const Standard_Real | U, | ||
const Standard_Integer | N | ||
) | [static] |
static Standard_Real HLRBRep_LineTool::FirstParameter | ( | const gp_Lin & | C | ) | [static] |
static GeomAbs_CurveType HLRBRep_LineTool::GetType | ( | const gp_Lin & | C | ) | [static] |
static GeomAbs_Shape HLRBRep_LineTool::IntervalContinuity | ( | const gp_Lin & | C | ) | [static] |
static Standard_Real HLRBRep_LineTool::IntervalFirst | ( | const gp_Lin & | C | ) | [static] |
static Standard_Real HLRBRep_LineTool::IntervalLast | ( | const gp_Lin & | C | ) | [static] |
static void HLRBRep_LineTool::Intervals | ( | const gp_Lin & | C, |
TColStd_Array1OfReal & | T, | ||
const GeomAbs_Shape | Sh | ||
) | [static] |
static Standard_Boolean HLRBRep_LineTool::IsClosed | ( | const gp_Lin & | C | ) | [static] |
static Standard_Boolean HLRBRep_LineTool::IsPeriodic | ( | const gp_Lin & | C | ) | [static] |
static Standard_Boolean HLRBRep_LineTool::IsRational | ( | const gp_Lin & | C | ) | [static] |
static void HLRBRep_LineTool::KnotsAndMultiplicities | ( | const gp_Lin & | C, |
TColStd_Array1OfReal & | TK, | ||
TColStd_Array1OfInteger & | TM | ||
) | [static] |
static Standard_Real HLRBRep_LineTool::LastParameter | ( | const gp_Lin & | C | ) | [static] |
static Standard_Integer HLRBRep_LineTool::NbIntervals | ( | const gp_Lin & | C, |
const GeomAbs_Shape | S | ||
) | [static] |
static Standard_Integer HLRBRep_LineTool::NbKnots | ( | const gp_Lin & | C | ) | [static] |
static Standard_Integer HLRBRep_LineTool::NbPoles | ( | const gp_Lin & | C | ) | [static] |
static Standard_Integer HLRBRep_LineTool::NbSamples | ( | const gp_Lin & | C, |
const Standard_Real | U0, | ||
const Standard_Real | U1 | ||
) | [static] |
static Standard_Real HLRBRep_LineTool::Period | ( | const gp_Lin & | C | ) | [static] |
static void HLRBRep_LineTool::Poles | ( | const gp_Lin & | C, |
TColgp_Array1OfPnt & | TP | ||
) | [static] |
static void HLRBRep_LineTool::PolesAndWeights | ( | const gp_Lin & | C, |
TColgp_Array1OfPnt & | TP, | ||
TColStd_Array1OfReal & | TW | ||
) | [static] |
static Standard_Real HLRBRep_LineTool::Resolution | ( | const gp_Lin & | C, |
const Standard_Real | R3d | ||
) | [static] |
static void HLRBRep_LineTool::SamplePars | ( | const gp_Lin & | C, |
const Standard_Real | U0, | ||
const Standard_Real | U1, | ||
const Standard_Real | Defl, | ||
const Standard_Integer | NbMin, | ||
Handle< TColStd_HArray1OfReal > & | Pars | ||
) | [static] |
static gp_Pnt HLRBRep_LineTool::Value | ( | const gp_Lin & | C, |
const Standard_Real | U | ||
) | [static] |