NurbsCurveInterface¶
from acron.core import NurbsCurveInterface
- class NurbsCurveInterface¶
Bases:
This abstract class defines the interface only for a Nurbs-style curve, with knots and coordinates in homogeneous space.
The
NurbsCurveclass inherits both from this and fromParametricCurve.Inheritance diagram
digraph inheritance5e1e4b3f4b { bgcolor=transparent; rankdir=BT; size="8.0, 12.0"; "DTOOL_SUPER_BASE" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style=""]; "NurbsCurveInterface" [URL="acron.core.NurbsCurveInterface.html#acron.core.NurbsCurveInterface",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=11,height=0.25,shape=box,style="",target="_top",tooltip="/**"]; "DTOOL_SUPER_BASE" -> "NurbsCurveInterface" [arrowsize=0.75,style=""]; }- append_cv()¶
- static get_class_type()¶
- get_cv()¶
- get_cv_point()¶
Returns the position of the indicated CV.
- get_cv_weight()¶
Returns the weight of the indicated CV.
- get_knot()¶
- get_num_cvs()¶
- get_num_knots()¶
- get_order()¶
- insert_cv()¶
- remove_all_cvs()¶
- remove_cv()¶
- set_cv()¶
- set_cv_point()¶
Repositions the indicated CV. Returns true if successful, false otherwise.
Repositions the indicated CV. Returns true if successful, false otherwise.
- set_cv_weight()¶
Sets the weight of the indicated CV without affecting its position in 3-d space.
- set_knot()¶
- set_order()¶
- write_cv()¶