maspack.geometry.io
Class WavefrontReader.Curve
java.lang.Object
maspack.geometry.io.WavefrontReader.Curve
- Enclosing class:
- WavefrontReader
public static class WavefrontReader.Curve
- extends java.lang.Object
A simple container class to hold all the info for a Wavefront curve
specification. At this time, only rational BSPLINE types are supported.
Method Summary |
boolean |
equals(java.lang.Object obj)
For testing ... |
void |
set(int type,
boolean rat,
int deg,
boolean closed,
double[] knots,
int[] idxs,
double u0,
double u1,
int line)
For testing ... |
java.lang.String |
toString()
For testing ... |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
degree
public int degree
type
public int type
isRational
public boolean isRational
isClosed
public boolean isClosed
knots
public double[] knots
indices
public int[] indices
u0
public double u0
u1
public double u1
lineNum
public int lineNum
WavefrontReader.Curve
public WavefrontReader.Curve()
equals
public boolean equals(java.lang.Object obj)
- For testing ...
- Overrides:
equals
in class java.lang.Object
toString
public java.lang.String toString()
- For testing ...
- Overrides:
toString
in class java.lang.Object
set
public void set(int type,
boolean rat,
int deg,
boolean closed,
double[] knots,
int[] idxs,
double u0,
double u1,
int line)
- For testing ...