Class Ifc4::IfcRationalBSplineCurveWithKnots¶
Defined in File Ifc4.h
Nested Relationships¶
This class is a nested type of Struct Ifc4.
Inheritance Relationships¶
Base Type¶
public Ifc4::IfcBSplineCurveWithKnots
(Class Ifc4::IfcBSplineCurveWithKnots)
Class Documentation¶
-
class
Ifc4
::
IfcRationalBSplineCurveWithKnots
: public Ifc4::IfcBSplineCurveWithKnots¶ A rational B-spline curve with knots is a B-spline curve described in terms of control points and basic functions. It describes weights in addition to the control points defined at the supertype IfcBSplineCurve.
NOTE: The IfcRationalBSplineCurveWithKnots is an entity that had been adopted from ISO 10303, Industrial automation systems and integration — Product data representation and exchange, Part 42: Integrated generic resource: Geometric and topological representation.
NOTE: The specific subtype IfcRationalBSplineCurveWithKnots has been introduced to avoid the complexity of ANDOR subtype relationships in the ISO 10303-42 specification
All weights shall be positive and the curve is given by:
where
k+1 number of control points
Pi control points
wi weights
d degree
NOTE Corresponding ISO 10303 entity: rational_b_spline_curve. Please refer to ISO/IS 10303-42:1994, p. 45 for the final definition of the formal standard.
HISTORY New entity in IFC2x4.
Public Types
-
typedef IfcTemplatedEntityList<IfcRationalBSplineCurveWithKnots>
list
¶
Public Functions
-
std::vector<double>
WeightsData
() const¶ The supplied values of the weights.
-
void
setWeightsData
(std::vector<double> v)¶
-
IfcRationalBSplineCurveWithKnots
(IfcEntityInstanceData *e)¶
-
IfcRationalBSplineCurveWithKnots
(int v1_Degree, IfcTemplatedEntityList<::Ifc4::IfcCartesianPoint>::ptr v2_ControlPointsList, ::Ifc4::IfcBSplineCurveForm::Value v3_CurveForm, bool v4_ClosedCurve, bool v5_SelfIntersect, std::vector<int> v6_KnotMultiplicities, std::vector<double> v7_Knots, ::Ifc4::IfcKnotType::Value v8_KnotSpec, std::vector<double> v9_WeightsData)¶
-
typedef IfcTemplatedEntityList<IfcRationalBSplineCurveWithKnots>