org.deegree.geometry.primitive.segments
Class Knot

java.lang.Object
  extended by org.deegree.geometry.primitive.segments.Knot

public class Knot
extends Object

Used to define the basis functions of a BSpline.

Version:
$Revision: 31641 $, $Date: 2011-08-24 21:24:55 +0200 (Wed, 24 Aug 2011) $
Author:
Markus Schneider , last edited by: $Author: mschneider $

Constructor Summary
Knot(double value, int multiplicity, double weight)
          Creates a new Knot instance.
 
Method Summary
 int getMultiplicity()
          Returns the knot's multiplicity.
 double getValue()
          Returns the knot's value.
 double getWeight()
          Returns the knot's weight.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Knot

public Knot(double value,
            int multiplicity,
            double weight)
Creates a new Knot instance.

Parameters:
value -
multiplicity -
weight -
Method Detail

getValue

public double getValue()
Returns the knot's value.

Returns:
the knot's value

getMultiplicity

public int getMultiplicity()
Returns the knot's multiplicity.

Returns:
the knot's multiplicity

getWeight

public double getWeight()
Returns the knot's weight.

Returns:
the knot's weight


Copyright © 2011. All Rights Reserved.