NurbsDirection
Inheritance: java.lang.Object
public class NurbsDirection
A 3D NurbsSurface has two direction, the NurbsSurface.getU and NurbsSurface.getV, the NurbsDirection defines data for each direction. A direction is actually a NURBS curve, that means it’s also defined by its getOrder, a getKnotVectors, and a set of weighted control points(defined in NurbsSurface).
Constructors
Constructor | Description |
---|---|
NurbsDirection() |
Methods
Method | Description |
---|---|
equals(Object arg0) | |
getClass() | |
getCount() | Gets the count of control points in current direction. |
getDivisions() | Gets the number of divisions between adjacent control points in current direction. |
getKnotVectors() | Gets the knot vector, it is a sequence of parameter values that determines where and how the control points affect the NURBS curve. |
getMultiplicity() | Gets the multiplicity. |
getOrder() | Gets the order of a NURBS curve, it defines the number of nearby control points that influence any given point on the curve. |
getType() | Gets the type of the current direction. |
hashCode() | |
notify() | |
notifyAll() | |
setCount(int value) | Sets the count of control points in current direction. |
setDivisions(int value) | Sets the number of divisions between adjacent control points in current direction. |
setOrder(int value) | Sets the order of a NURBS curve, it defines the number of nearby control points that influence any given point on the curve. |
setType(NurbsType value) | Sets the type of the current direction. |
toString() | |
wait() | |
wait(long arg0) | |
wait(long arg0, int arg1) |
NurbsDirection()
public NurbsDirection()
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
getClass()
public final native Class<?> getClass()
Returns: java.lang.Class
getCount()
public int getCount()
Gets the count of control points in current direction.
Returns: int
getDivisions()
public int getDivisions()
Gets the number of divisions between adjacent control points in current direction.
Returns: int
getKnotVectors()
public List<Double> getKnotVectors()
Gets the knot vector, it is a sequence of parameter values that determines where and how the control points affect the NURBS curve.
Returns: java.util.List<java.lang.Double>
getMultiplicity()
public List<Integer> getMultiplicity()
Gets the multiplicity.
Returns: java.util.List<java.lang.Integer>
getOrder()
public int getOrder()
Gets the order of a NURBS curve, it defines the number of nearby control points that influence any given point on the curve.
Returns: int
getType()
public NurbsType getType()
Gets the type of the current direction.
Returns: NurbsType
hashCode()
public native int hashCode()
Returns: int
notify()
public final native void notify()
notifyAll()
public final native void notifyAll()
setCount(int value)
public void setCount(int value)
Sets the count of control points in current direction.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | New value |
setDivisions(int value)
public void setDivisions(int value)
Sets the number of divisions between adjacent control points in current direction.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | New value |
setOrder(int value)
public void setOrder(int value)
Sets the order of a NURBS curve, it defines the number of nearby control points that influence any given point on the curve.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int | New value |
setType(NurbsType value)
public void setType(NurbsType value)
Sets the type of the current direction.
Parameters:
Parameter | Type | Description |
---|---|---|
value | NurbsType | New value |
toString()
public String toString()
Returns: java.lang.String
wait()
public final void wait()
wait(long arg0)
public final void wait(long arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |