Logo Search packages:      
Sourcecode: inkscape version File versions

What kind of node is this? This is the value for the node->type field. NodeType indicates the degree of continuity required for the node. I think that the corresponding integer indicates which derivate is connected. (Thus 2 means that the node is continuous to the second derivative, i.e. has matching endpoints and tangents)

Enumerator:
NODE_NONE  Discontinuous node, usually either start or endpoint of a path
NODE_CUSP  This node continuously joins two segments, but the unit tangent is discontinuous.
NODE_SMOOTH  This node continuously joins two segments, with continuous *unit* tangent.
NODE_SYMM  This node is symmetric. I.e. continously joins two segments with continuous derivative
NODE_NONE  Discontinuous node, usually either start or endpoint of a path
NODE_CUSP  This node continuously joins two segments, but the unit tangent is discontinuous.
NODE_SMOOTH  This node continuously joins two segments, with continuous *unit* tangent.
NODE_SYMM  This node is symmetric. I.e. continously joins two segments with continuous derivative

Definition at line 26 of file geom-nodetype.h.

             {
/**  Discontinuous node, usually either start or endpoint of a path */
    NODE_NONE,
/**  This node continuously joins two segments, but the unit tangent is discontinuous.*/
    NODE_CUSP,
/**  This node continuously joins two segments, with continuous *unit* tangent. */
    NODE_SMOOTH,
/**  This node is symmetric. I.e. continously joins two segments with continuous derivative */
    NODE_SYMM
} NodeType;


Generated by  Doxygen 1.6.0   Back to index