All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

CATTPSInterfaces Interface CATITPSCylinder

System.IUnknown
  |
  +---CATITPSCylinder
 

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


interface CATITPSCylinder

Interface implemented by Constructed Geometry (CG) type cylinder.

Role this interface allows to manipulate a contructed geometry type cylinder. To retrieve topology linked to a constructed geometry uses CATITTRSGeometry

See also:
CATITTRSGeometry


Method Index


o GetAssocThread(CATITPSThread**)
Gets the thread of cylinder.
o GetDiameter(double&)
Gets diameter of the contructed geometry
Role this method returns the diameter of the constructed geometry type “cylinder”.
o TestRefCylinder(CATITTRS**,CATBoolean&)
Retrieves type of cylinder from which the constructed geometry has been created.

Methods


o GetAssocThread
public virtual HRESULT GetAssocThread(CATITPSThread** opiTPSThread) = 0
Gets the thread of cylinder.
Role this method returns the thread of the cylinder.
Precondition Only available for constructed geometry type plane aggregated by a constructed geometry type “thread”.
Parameters:
opiTPSThread
[out, IUnknown#Release] CG thread.
Returns:
S_OK
The thread is retrieved.
E_FAIL
if the operation failed.
o GetDiameter
public virtual HRESULT GetDiameter(double& ioDiameter) = 0
Gets diameter of the contructed geometry
Role this method returns the diameter of the constructed geometry type “cylinder”.
Parameters:
ioDiameter
[out] diamter of the CG cylinder.
o TestRefCylinder
public virtual HRESULT TestRefCylinder(CATITTRS** opiTTRS,
CATBoolean& obRefCylinder) = 0
Retrieves type of cylinder from which the constructed geometry has been created.
Parameters:
obRefCylinder
[out] True: if the cylinder is defined from two parallel axis, the first one is the axis of the cylinder. False: if the cylinder is defined from three parallel axis.

This object is included in the file: CATITPSCylinder.h

Copyright © 2003, Dassault Systèmes. All rights reserved.