Instance Method
unitVectorAtNodeAtIndex:direction: unitVectorAtNodeAtIndex:direction: unitVectorAtNodeAtIndex_direction_
The tangent unit vector at a node index.
Not available in Swift.
Declaration
- (NSPoint) unitVectorAtNodeAtIndex:(NSInteger) nodeIdx direction:(int) direction;Declaration
unitVectorAtNodeAtIndex_direction_(nodeIdx: int, direction: int) -> NSPointDiscussion
Nonnegative direction values use following nodes. Negative direction values use preceding nodes.
Returns a point whose x value is NSNotFound when no tangent can be determined.
See Also
Tangents
The tangent angle at a node.
The tangent angle at a node index.
The tangent unit vector at a node index.