Package skyview.geometry.sampler
Class Spline
java.lang.Object
skyview.geometry.Sampler
skyview.geometry.sampler.Spline
- All Implemented Interfaces:
Serializable
,Cloneable
,Component
- See Also:
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the description of this component.getName()
Get the name of this component.double
interpolatedValue
(double x, double y) void
sample
(int pix) Find the value in the input data to put in the output data.void
Construct a sample of a given degree.void
setOrder
(int order) Set the order
-
Constructor Details
-
Spline
public Spline()
-
-
Method Details
-
getName
Description copied from interface:Component
Get the name of this component. -
getDescription
Description copied from interface:Component
Get the description of this component. -
setOrder
public void setOrder(int order) Set the order -
setInput
Construct a sample of a given degree. Probably should override the setImage functions and such since we don't handle 3-D images yet. -
interpolatedValue
public double interpolatedValue(double x, double y) -
sample
public void sample(int pix) Description copied from class:Sampler
Find the value in the input data to put in the output data. The output array defined in a previous setOutput call is updated.
-