PathEngine home previous: iContentChunkInstance::edgesCanConnect()next: iContentChunkInstance::getConnectingEdgeGeometry()
Contents, API Reference, Interfaces, iContentChunkInstance, getAnchorsAndShapesPointer

iContentChunkInstance::getAnchorsAndShapesPointer()

Description

Provides access to a transformed 'anchors and shapes' object managed internally by the content chunk instance.

Syntax

const iAnchorsAndPinnedShapes* getAnchorsAndShapesPointer() const;

Return Value

A pointer to an object derived internally by PathEngine from the iAnchorsAndShapes interface, corresponding to anchor and pinned shape elements of the instanced content chunk scaled, rotated and translated according to the parameters specified when creating this content chunk instance.
This pointer may be zero in the case where the content chunk contains no anchor and pinned shape elements.

Remarks

The returned pointer can be used to add the anchors and shapes to a ground mesh, e.g. after performing the 2D content processing, but in most cases it is not necessary for this to be handled by the client application.
Consider using iContentChunkInstance::addAnchorsAndShapes() instead.

Because the returned pointer is to an object managed internally by the content chunk instance, this pointer will be invalidated when this content chunk instance is destroyed.


Documentation for PathEngine release 5.16 - Copyright © 2002-2008 PathEnginenext: iContentChunkInstance::getConnectingEdgeGeometry()