Class KnotType


  • public class KnotType
    extends Object
    A knot is a breakpoint on a piecewise spline curve.

    Java class for KnotType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="KnotType">
       <complexContent>
         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
           <sequence>
             <element name="value" type="{http://www.w3.org/2001/XMLSchema}double"/>
             <element name="multiplicity" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/>
             <element name="weight" type="{http://www.w3.org/2001/XMLSchema}double"/>
           </sequence>
         </restriction>
       </complexContent>
     </complexType>
     
    • Field Detail

      • value

        protected double value
      • weight

        protected double weight
    • Constructor Detail

      • KnotType

        public KnotType()
        Default no-arg constructor
      • KnotType

        public KnotType​(double value,
                        BigInteger multiplicity,
                        double weight)
        Fully-initialising value constructor
    • Method Detail

      • getValue

        public double getValue()
        Gets the value of the value property.
      • setValue

        public void setValue​(double value)
        Sets the value of the value property.
      • getMultiplicity

        public BigInteger getMultiplicity()
        Gets the value of the multiplicity property.
        Returns:
        possible object is BigInteger
      • setMultiplicity

        public void setMultiplicity​(BigInteger value)
        Sets the value of the multiplicity property.
        Parameters:
        value - allowed object is BigInteger
      • getWeight

        public double getWeight()
        Gets the value of the weight property.
      • setWeight

        public void setWeight​(double value)
        Sets the value of the weight property.