- All Implemented Interfaces:
Identifiable,ModifiableIdentifiable,HasCustomProperties<VecCustomProperty>,Visitable,Serializable
A B-spline curve is a piecewise parametric polynomial or rational curve described in terms of control points and basis functions. The B-spline curve has been selected as the most stable format to represent all types of polynomial or rational parametric curves. With appropriate attribute values it is capable of representing single span or spline curves of explicit polynomial, rational, Bezier or B-spline type.
Within the Harness Engineering Information Model the definition has been restricted to a uniform B_spline_curve, where the knots are evenly spaced. Suitable default values for the knots and knot multiplicities are derived in this case. A B-spline is uniform if and only if all knots are of multiplicity 1 and they differ by a positive constant from the preceding knot. In this case the knot spacing is 1.0, starting at -d, where d is the degree.
Note: If the B-spline curve is uniform and degree=1, the B-spline is equivalent to a polyline.
Java class for BSplineCurve complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BSplineCurve">
<complexContent>
<extension base="{http://www.prostep.org/ecad-if/2011/vec}ExtendableElement">
<sequence>
<element name="Degree" type="{http://www.w3.org/2001/XMLSchema}integer"/>
<element name="ControlPoint" type="{http://www.w3.org/2001/XMLSchema}IDREFS" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected List<VecCartesianPoint3D>protected BigIntegerThe algebraic degree of the basis functions.Fields inherited from class com.foursoft.harness.vec.v113.VecExtendableElement
customProperties, xmlId -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R,E extends Throwable>
RGets the value of the controlPoint property.Gets the value of the degree property.Gets a reference to the parent of this object in the XML DOM Tree.voidsetDegree(BigInteger value) Sets the value of the degree property.Methods inherited from class com.foursoft.harness.vec.v113.VecExtendableElement
getCustomProperties, getRefExternalMapping, getXmlId, setXmlId, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.foursoft.harness.vec.common.HasCustomProperties
getCustomPropertiesWithType, getCustomProperty
-
Field Details
-
degree
The algebraic degree of the basis functions.
-
controlPoint
-
-
Constructor Details
-
VecBSplineCurve
public VecBSplineCurve()
-
-
Method Details
-
getDegree
Gets the value of the degree property.The algebraic degree of the basis functions.
- Returns:
- possible object is
BigInteger
-
setDegree
Sets the value of the degree property.- Parameters:
value- allowed object isBigInteger- See Also:
-
getControlPoint
Gets the value of the controlPoint property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the Jakarta XML Binding object. This is why there is not a
setmethod for the controlPoint property.For example, to add a new item, do as follows:
getControlPoint().add(newItem);Objects of the following type(s) are allowed in the list
Object -
getParentGeometrySegment3D
Gets a reference to the parent of this object in the XML DOM Tree. If this class can have different parents in DOM, this property is initialized with the parent, if the parent is aVecGeometrySegment3Dotherwise it will be null.
Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by theExtendedUnmarshaller.
This property is consistent to the state of object model at the time of unmarshalling. It does not reflect any changes done in the object model after the unmarshalling.
This property has no effect when the object is marshalled to xml. -
accept
-