Class VecBSplineCurve

java.lang.Object
com.foursoft.harness.vec.v113.VecExtendableElement
com.foursoft.harness.vec.v113.VecBSplineCurve
All Implemented Interfaces:
Identifiable, ModifiableIdentifiable, HasCustomProperties<VecCustomProperty>, Visitable, Serializable

public class VecBSplineCurve extends VecExtendableElement implements Serializable, Visitable

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 Details

  • Constructor Details

    • VecBSplineCurve

      public VecBSplineCurve()
  • Method Details

    • getDegree

      public BigInteger getDegree()
      Gets the value of the degree property.

      The algebraic degree of the basis functions.

      Returns:
      possible object is BigInteger
    • setDegree

      public void setDegree(BigInteger value)
      Sets the value of the degree property.
      Parameters:
      value - allowed object is BigInteger
      See Also:
    • getControlPoint

      public List<VecCartesianPoint3D> 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 set method 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

      public VecGeometrySegment3D 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 a VecGeometrySegment3D otherwise it will be null.
      Warning!: This is a readonly property! It has to be initialized during the unmarshalling process by the ExtendedUnmarshaller.
      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

      public <R, E extends Throwable> R accept(Visitor<R,E> aVisitor) throws E
      Specified by:
      accept in interface Visitable
      Throws:
      E extends Throwable