Share

NURBSSurfConstPoint : NURBSPoint

This class defines a dependent point on a surface or related to it. There are four ways to specify the displacement of the point’s location relative to the UV position:

  • OnObject - the point is actually on the surface of the object.

  • Offset - the point is offset some distance (specified in object space) from the surface of the object.

  • Normal - the point is offset along the direction of the surface’s normal. (Negative values move it opposite to the normal.)

  • Tangent - the point is offset some U and/or V distance along the tangent from the surface. If the value is positive it's the tangent that heads in the direction of increasing parameter value; if negative it's the tangent that heads in the direction of decreasing parameter value.

Constructors

NURBSSurfConstPoint [<property>:<val>]...      

Any of the object's properties may be set via optional keyword arguments on the constructor.

getObject <nurbsset> <index>   

Properties

<nurbssurfconstpoint>.parent : integer 

The parent surface by NURBSet index.

<nurbssurfconstpoint>.parentID : integer 

The parent surface by NURBSId.

<nurbssurfconstpoint>.type :#onObject, #offset, #normal, #tangent 
<nurbssurfconstpoint>.uParam : float 

Parametric position along u direction.

<nurbssurfconstpoint>.vParam : float 

Parametric position along v direction.

<nurbssurfconstpoint>.offset : point3 

Offset vector if an offset type.

<nurbssurfconstpoint>.normal : float 

Distance along the normal if a normal type.

<nurbssurfconstpoint>.uTangent : float 

Distance along the u tangent if a tangent type.

<nurbssurfconstpoint>.vTangent : float 

Distance along the v tangent if a tangent type.

Was this information helpful?