CATTPSBaseUseItf Interface 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:


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 GetAssocThread( opiTPSThread)
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 GetDiameter( ioDiameter)
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 TestRefCylinder( opiTTRS,
obRefCylinder)
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 © 1999-2014, Dassault Systèmes. All rights reserved.