igeo
Class INurbsGeo
java.lang.Object
igeo.IParameterObject
igeo.INurbsGeo
- All Implemented Interfaces:
- ISubobject
- Direct Known Subclasses:
- ICurveGeo, ISurfaceGeo
public class INurbsGeo
- extends IParameterObject
Base class of NURBS geometry providing miscellaneous methods to be used in child classes.
- See Also:
ICurveGeo
,
ISurfaceGeo
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INurbsGeo
INurbsGeo()
- Default constractor doesn't create parent IGElement
INurbsGeo
INurbsGeo(IServerI h)
- Parameters:
h
- if h is null, this doesn't create parent IGElement
normalizeKnots
public static void normalizeKnots(double[] knots,
double ustart,
double uend)
createKnots
public static double[] createKnots(int degree,
int num,
boolean closed)
createKnots
public static double[] createKnots(int degree,
int num)
- Creating generic knots. Knot values are already normalized.
createClosedKnots
public static double[] createClosedKnots(int degree,
int num)
createClosedCP
public static IVecI[] createClosedCP(IVecI[] cpts,
int degree)
createClosedCPInU
public static IVecI[][] createClosedCPInU(IVecI[][] cpts,
int udeg)
createClosedCPInV
public static IVecI[][] createClosedCPInV(IVecI[][] cpts,
int vdeg)
isValidKnots
public static boolean isValidKnots(double[] knots)