public class CurvatureLengthRoughnessPenalty
extends java.lang.Object
PenalizedCurvatureLCurvatureLengthRoughnessPenaltyengthFit demonstrates the setting up and the usage of
the curvature, the length, and the closeness of fit penalizing spline. This sample shows the following:
- Set up the X Predictor Ordinate and the Y Response Value Set.
- Construct a set of Predictor Ordinates, their Responses, and corresponding Weights to serve as
weighted closeness of fit.
- Construct a rational shape controller with the desired shape controller tension parameters and Global
Scaling.
- Construct the Segment Inelastic Parameter that is C2 (iK = 2 sets it to C2), with First Order Segment
Length Penalty Derivative, Second Order Segment Curvature Penalty Derivative, their Amplitudes, and
without Constraint.
- Construct the base, the base + 1 degree segment builder control.
- Construct the base, the elevated, and the best fit basis spline stretches.
- Compute the segment-by-segment monotonicity for all the three stretches.
- Compute the Stretch Jacobian for all the three stretches.
- Compute the Base Stretch Curvature, Length, and the Best Fit DPE.
- Compute the Elevated Stretch Curvature, Length, and the Best Fit DPE.
- Compute the Best Fit Stretch Curvature, Length, and the Best Fit DPE.
- Author:
- Lakshmi Krishnamurthy