PLMModelerBaseInterfaces Interface CATIPLM3DPositionMng

Usage: an implementation of this interface is supplied and you must use it as is. You should not reimplement it.


interface CATIPLM3DPositionMng

Interface providing services related to 3D positioning for 3D PLM modelers.

Example:
  CATIPLM3DPositionMng *pPLM3DPositionMng = NULL;
  if (SUCCEEDED(::CATInstantiateComponent(CATIPLM3DPositionMng_Component,IID_CATIPLM3DPositionMng,(void **)&pPLM3DPositionMng))&&pPLM3DPositionMng)
  {
    ...
  }
  CATSysReleasePtr(pPLM3DPositionMng);


Method Index


o RetrievePosition(CATOmbObjectInContext*,CATMathTransformation&)
Method to compute the cumulated position of an object of a 3D modeler.

Methods


o RetrievePosition
public virtual RetrievePosition( const iObjInCtx,
oPos)
Method to compute the cumulated position of an object of a 3D modeler. Uses the path context of the input iObjInCtx, also taking into account any position overloadings.
Parameters:
iObjInCtx
Pointing Object containing a Path of Instance from which absolute position has to be retrieved. Input Parameter.
This path must not be provided by caller as empty! This path must be valid in terms of isaninstanceof/isownedby/isaninstanceof/isownedby/... relationships between its items.
oPos
The absolute cumulated position of the 3D object returned.
Output parameter.
This parameter is correctly valuated if method succeeds. Otherwise its value (Identity) is nonsense.
Returns:
S_OK if the method succeeds.
E_INVALIDARG if iObjInCtx parameter provided is invalid.
E_FAIL otherwise.

This object is included in the file: CATIPLM3DPositionMng.h
If needed, your Imakefile.mk should include the module: CATPLMModelerBaseInterfaces

Copyright © 1999-2014, Dassault Systèmes. All rights reserved.