Inherits from NSObject
Declared in CC3NodeVisitor.h

Overview

Helper class for CC3NodePuncturingVisitor that tracks a node and the location of its puncture.

Properties

globalPunctureLocation

The location of the puncture, in the global coordinate system.

@property (nonatomic, readonly) CC3Vector globalPunctureLocation

Declared In

CC3NodeVisitor.h

node

The punctured node.

@property (nonatomic, readonly) CC3Node *node

Declared In

CC3NodeVisitor.h

punctureLocation

The location of the puncture, in the local coordinate system of the punctured node.

@property (nonatomic, readonly) CC3Vector punctureLocation

Declared In

CC3NodeVisitor.h

sqGlobalPunctureDistance

The square of the distance from the startLocation of the ray to the puncture. This is used to sort the punctures by distance from the start of the ray.

@property (nonatomic, readonly) float sqGlobalPunctureDistance

Declared In

CC3NodeVisitor.h

Class Methods

punctureOnNode:fromRay:

Allocates and initializes an autoreleased instance with the specified node and ray.

+ (id)punctureOnNode:(CC3Node *)aNode fromRay:(CC3Ray)aRay

Declared In

CC3NodeVisitor.h

Instance Methods

initOnNode:fromRay:

Initializes this instance with the specified node and ray.

- (id)initOnNode:(CC3Node *)aNode fromRay:(CC3Ray)aRay

Declared In

CC3NodeVisitor.h