Package com.aspose.threed
Class NurbsDirection
- java.lang.Object
-
- com.aspose.threed.NurbsDirection
-
public class NurbsDirection extends java.lang.Object
A 3DNurbsSurface
has two direction, theNurbsSurface.getU()
andNurbsSurface.getV()
, theNurbsDirection
defines data for each direction. A direction is actually a NURBS curve, that means it's also defined by itsgetOrder()
, agetKnotVectors()
, and a set of weighted control points(defined inNurbsSurface
).
-
-
Constructor Summary
Constructors Constructor Description NurbsDirection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCount()
Gets the count of control points in current direction.int
getDivisions()
Gets the number of divisions between adjacent control points in current direction.java.util.List<java.lang.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.java.util.List<java.lang.Integer>
getMultiplicity()
Gets the multiplicity.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.NurbsType
getType()
Gets the type of the current direction.void
setCount(int value)
Sets the count of control points in current direction.void
setDivisions(int value)
Sets the number of divisions between adjacent control points in current direction.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.void
setType(NurbsType value)
Sets the type of the current direction.
-
-
-
Method Detail
-
getKnotVectors
public java.util.List<java.lang.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.
-
getMultiplicity
public java.util.List<java.lang.Integer> getMultiplicity()
Gets the multiplicity.
-
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.
-
setOrder
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:
value
- New value
-
getDivisions
public int getDivisions()
Gets the number of divisions between adjacent control points in current direction.
-
setDivisions
public void setDivisions(int value)
Sets the number of divisions between adjacent control points in current direction.- Parameters:
value
- New value
-
getType
public NurbsType getType()
Gets the type of the current direction.
-
setType
public void setType(NurbsType value)
Sets the type of the current direction.- Parameters:
value
- New value
-
getCount
public int getCount()
Gets the count of control points in current direction.
-
setCount
public void setCount(int value)
Sets the count of control points in current direction.- Parameters:
value
- New value
-
-