Instance Method
unitVectorAtNodeAtIndex:unitVectorAtNodeAtIndex:unitVectorAtNodeAtIndex_
The tangent unit vector at a node index.
Not available in Swift.
Declaration
- (NSPoint) unitVectorAtNodeAtIndex:(NSInteger) nodeIdx;Declaration
unitVectorAtNodeAtIndex_(nodeIdx: int) -> NSPointDiscussion
For the final node of an open path, the vector uses preceding nodes. Otherwise, the vector uses following 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.