Interface to IK point constraint data.
#include <AlPointConstraint.h> class AlPointConstraint : public AlConstraint AlPointConstraint(); virtual ~AlPointConstraint(); virtual AlObject* copyWrapper() const; statusCode create( AlDagNode*, AlDagNode* ); statusCode create( AlDagNode*, AlDagNode*, double[2] ); virtual AlObjectType type() const; statusCode point( double[3] ) const;
The AlPointConstraint class allows access to the IK point constraint information on an AlJoint. This class is derived from the AlConstraint class.
(See the discussion of skeletons, joints, constraints, ik, and so on, in the Alias manuals for a full description.)
statusCode AlPointConstraint::create( AlDagNode* srcNode, AlDagNode* destNode )
Does all the initialization necessary to attach the constraint node to the DAG node as a point constraint. A DAG node can not be constrained to itself.
statusCode AlPointConstraint::create( AlDagNode* srcNode, AlDagNode* destNode, double uv[2] )
This method does all the initialization necessary to attach the constraint node to the dag node as an uv point constraint. A dag node can not be constrained to itself. The destNode must be a spline geometry node, for example, a spline curve or a spline surface.