Bézier-Spline-Fläche | |
BSpline Surface | |
Surface Bspline |
Item | SPF | XML | Change | Description | IFC2x3 to IFC4 |
---|---|---|---|---|
IfcBSplineSurface | ADDED |
The IfcBSplineSurface is a general form of rational or polynomial parametric surface.
NOTE Definition according to ISO/CD 10303-42:1992
A b_spline_surface is a general form of rational or polynomial parametric surface which is represented by control points, basis functions, and possibly, weights. As with the corresponding curve entity it has some special subtypes where some of the data can be derived.
- The symbology used here is:
K1 = upper_index_on_u_control_points K2 = upper_index_on_v_control_points Pij = control_points wij = weights d1 = u_degree d2 = v_degree - The control points are ordered as
P00, P01, P02, ......, PK1(K2-1), PK1K2The weights, in the case of the rational subtype, are ordered similarly.
- For each parameter, s = u or v, if k is the upper index on the control points and d is the degree for s, the knot array is an array of (k + d + 2) real numbers [s-d, ...., sk+1], such that for all indices j in [-d, k]; sj ≤ sj+1. This array is obtained from the appropriate u_knots or v_knots list by repeating each multiple knot according to the multiplicity.
Nid, the ith normalised B-spline basis function of degree d, is defined on the subset [si-d, ...., si+1] of this array.
- Let L denote the number of distinct values amongst the knots in the knot list; L will be referred to as the ‘upper index on knots’. Let mj denote the multiplicity (i.e., number of repetitions) of the jth distinct knot value. Then: All knot multiplicities except the first and the last shall be in the range 1, ...., d; the first and last may have a maximum value of d+1. In evaluating the basis functions, a knot u of, e.g., multiplicity 3 is interpreted as a sequence u, u, u, in the knot array.
- The surface form is used to identify specific quadric surface types (which shall have degree two), ruled surfaces and surfaces of revolution. As with the b-spline curve, the surface form is informational only and the spline data takes precedence.
- The surface is to be interpreted as follows: In the polynomial case the surface is given by the equation: In the rational case the surface equation is:
NOTE Entity adapted from b_spline_surface defined in ISO10303-42.
HISTORY New entity in IFC4.
# | Attribute | Type | Cardinality | Description | C |
---|---|---|---|---|---|
1 | UDegree | IfcInteger | [1:1] | Algebraic degree of basis functions in u. | X |
2 | VDegree | IfcInteger | [1:1] | Algebraic degree of basis functions in v. | X |
3 | ControlPointsList | IfcCartesianPoint | L[2:?]L[2:?] | This is a list of lists of control points. | X |
4 | SurfaceForm | IfcBSplineSurfaceForm | [1:1] | Indicator of special surface types. | X |
5 | UClosed | IfcLogical | [1:1] | Indication of whether the surface is closed in the u direction; this is for information only. | X |
6 | VClosed | IfcLogical | [1:1] | Indication of whether the surface is closed in the v direction; this is for information only. | X |
7 | SelfIntersect | IfcLogical | [1:1] | Flag to indicate whether, or not, surface is self-intersecting; this is for information only. | X |
UUpper :=SIZEOF(ControlPointsList) - 1 | IfcInteger | [1:1] | Upper index on control points in u direction. | X | |
VUpper :=SIZEOF(ControlPointsList[1]) - 1 | IfcInteger | [1:1] | Upper index on control points in v direction. | X | |
ControlPoints :=IfcMakeArrayOfArray(ControlPointsList, 0,UUpper,0,VUpper) | IfcCartesianPoint | A[0:UUpper]A[0:VUpper] | Array (two-dimensional) of control points defining surface geometry. This array is constructed from the control points list. | X |
# | Attribute | Type | Cardinality | Description | C |
---|---|---|---|---|---|
IfcRepresentationItem | |||||
LayerAssignment | IfcPresentationLayerAssignment @AssignedItems | S[0:1] | Assignment of the representation item to a single or multiple layer(s). The LayerAssignments can override a LayerAssignments of the IfcRepresentation it is used within the list of Items. | X | |
StyledByItem | IfcStyledItem @Item | S[0:1] | Reference to the IfcStyledItem that provides presentation information to the representation, e.g. a curve style, including colour and thickness to a geometric curve. | X | |
IfcGeometricRepresentationItem | |||||
IfcSurface | |||||
Dim :=3 | IfcDimensionCount | [1:1] | The space dimensionality of IfcSurface. It is always a three-dimensional geometric representation item. | X | |
IfcBoundedSurface | |||||
IfcBSplineSurface | |||||
1 | UDegree | IfcInteger | [1:1] | Algebraic degree of basis functions in u. | X |
2 | VDegree | IfcInteger | [1:1] | Algebraic degree of basis functions in v. | X |
3 | ControlPointsList | IfcCartesianPoint | L[2:?]L[2:?] | This is a list of lists of control points. | X |
4 | SurfaceForm | IfcBSplineSurfaceForm | [1:1] | Indicator of special surface types. | X |
5 | UClosed | IfcLogical | [1:1] | Indication of whether the surface is closed in the u direction; this is for information only. | X |
6 | VClosed | IfcLogical | [1:1] | Indication of whether the surface is closed in the v direction; this is for information only. | X |
7 | SelfIntersect | IfcLogical | [1:1] | Flag to indicate whether, or not, surface is self-intersecting; this is for information only. | X |
UUpper :=SIZEOF(ControlPointsList) - 1 | IfcInteger | [1:1] | Upper index on control points in u direction. | X | |
VUpper :=SIZEOF(ControlPointsList[1]) - 1 | IfcInteger | [1:1] | Upper index on control points in v direction. | X | |
ControlPoints :=IfcMakeArrayOfArray(ControlPointsList, 0,UUpper,0,VUpper) | IfcCartesianPoint | A[0:UUpper]A[0:VUpper] | Array (two-dimensional) of control points defining surface geometry. This array is constructed from the control points list. | X |
<xs:element name="IfcBSplineSurface" type="ifc:IfcBSplineSurface" abstract="true" substitutionGroup="ifc:IfcBoundedSurface" nillable="true"/>
<xs:complexType name="IfcBSplineSurface" abstract="true">
<xs:complexContent>
<xs:extension base="ifc:IfcBoundedSurface">
<xs:sequence>
<xs:element name="ControlPointsList">
<xs:complexType>
<xs:sequence>
<xs:element ref="ifc:IfcCartesianPoint" minOccurs="4" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="ifc:itemType" fixed="ifc:IfcCartesianPoint"/>
<xs:attribute ref="ifc:cType" fixed="list list"/>
<xs:attribute ref="ifc:arraySize" use="optional"/>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="UDegree" type="ifc:IfcInteger" use="optional"/>
<xs:attribute name="VDegree" type="ifc:IfcInteger" use="optional"/>
<xs:attribute name="SurfaceForm" type="ifc:IfcBSplineSurfaceForm" use="optional"/>
<xs:attribute name="UClosed" type="ifc:IfcLogical" use="optional"/>
<xs:attribute name="VClosed" type="ifc:IfcLogical" use="optional"/>
<xs:attribute name="SelfIntersect" type="ifc:IfcLogical" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
ENTITY IfcBSplineSurface
ABSTRACT SUPERTYPE OF(IfcBSplineSurfaceWithKnots)
SUBTYPE OF (IfcBoundedSurface);
UDegree : IfcInteger;
VDegree : IfcInteger;
ControlPointsList : LIST [2:?] OF LIST [2:?] OF IfcCartesianPoint;
SurfaceForm : IfcBSplineSurfaceForm;
UClosed : IfcLogical;
VClosed : IfcLogical;
SelfIntersect : IfcLogical;
DERIVE
UUpper : IfcInteger := SIZEOF(ControlPointsList) - 1;
VUpper : IfcInteger := SIZEOF(ControlPointsList[1]) - 1;
ControlPoints : ARRAY [0:UUpper] OF ARRAY [0:VUpper] OF IfcCartesianPoint := IfcMakeArrayOfArray(ControlPointsList,
0,UUpper,0,VUpper);
END_ENTITY;