NurbsControlPoint
A weighted point used for controlling a NURB surface.
Example
app = cf.GetApplication() project = app:NewProject() -- Create a NURBS surface with 2 rows and 3 columns. -- Both 'Points' or 'named points' may be used. namedPoint1 = project.NamedPoints:Add("nurbsControl1", 1, "1+1", "pi") pointsTable = {{cf.Point(0,0,0), cf.Point(-1,2,0), cf.Point(0,4,0)}, {cf.Point(2,1,0), namedPoint1 , cf.Point(2,4,0)}} weightsTable = {{1, 1, "2-1"}, {1, 5, "1*1"}} nurbs = project.Geometry:AddNurbsSurface(pointsTable, weightsTable) -- Get a handle to the first point firstPoint = nurbs.ControlPoints:Get(1, 1)
Inheritance
The NurbsControlPoint object is derived from the CompositeValue object.
Usage locations
The NurbsControlPoint object can be accessed from the following locations:
- Methods
- NurbsControlPointList object has method Append().
 - NurbsControlPointList object has method Get(number).
 - NurbsControlPointTable object has method Get(number, number).
 
 
Property List
- Position
 - The position of the point. (Read/Write LocalCoordinate)
 - Weight
 - The weight associated with the point. (Read/Write ParametricExpression)
 
Property Details
- Position
 - The position of the point.
- Type
 - LocalCoordinate
 - Access
 - Read/Write
 
 - Weight
 - The weight associated with the point.
- Type
 - ParametricExpression
 - Access
 - Read/Write