CATPipeTubeDesignUseItf Interface CATIPipFlexiblePipeReference

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


interface CATIPipFlexiblePipeReference



Method Index


o GetAlgorithmMode(CATFlexiblePipeAlgorithmMode&)
Gets the algorithm mode of flexible Pipe/Tube.
o GetBendRadius(double&)
Gets the bend radius of flexible Pipe/Tube.
o GetBuildMode(CATFlexiblePipeBuildMode&)
Gets the build mode of flexible Pipe/Tube.
o GetCoordinateofNode(CATLISTP(CATMathPoint)&,CATBaseUnknown*)
Gets the coordinate of Node.
o GetEnds(CATIPipPipingPortRef*&,CATIPipPipingPortRef*&)
Gets the two end of Flexible Pipe/Tube.
o GetFlexibleInformation(int&,int&,double&,double&)
Gets the Flexible parameters in term of Accuracy, Flexibility, Temperature and pressure.
o GetLength(double&)
Gets the length of flexible Pipe/Tube.
o GetNumberOfNode(int&)
Gets the number of node in Pipe/Tube.
o GetSlack(double&)
Gets the slack of flexible Pipe/Tube.

Enumerated Type Index


o CATFlexiblePipeAlgorithmMode
Flexible Pipe Algorithm Mode.
o CATFlexiblePipeBuildMode
Flexible Pipe Build Mode.

Methods


o GetAlgorithmMode
public virtual GetAlgorithmMode( oeAlgorithmMode)
Gets the algorithm mode of flexible Pipe/Tube.
Parameters:
oeAlgorithmMode
This method returns the mode “Standard” or “Flexible” to build the Flexible Pipe/Tube. “Flexible” mode is the realistic algorithm that use the physical property to build the shape of pipe. Licence “FLX” is request to have this mode. [out, CATFlexiblePipeAlgorithmMode]
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_INVALIDARG
Failed to find the Flexible Curve inside the Flexible Pipe
E_FAIL
operation failed
o GetBendRadius
public virtual GetBendRadius( oBendRadius)
Gets the bend radius of flexible Pipe/Tube.
Parameters:
oBendRadius
Value of the bend radius. [out, Double]
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_INVALIDARG
Failed to find the Flexible Curve inside the Flexible Pipe
E_FAIL
operation failed
o GetBuildMode
public virtual GetBuildMode( oeBuildMode)
Gets the build mode of flexible Pipe/Tube.
Parameters:
oeBuildMode
This method returns the build mode of Flexible Pipe/Tube that can be Slack, Bend or Length mode. [out, CATFlexiblePipeBuildMode]
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_INVALIDARG
Failed to find the Flexible Curve inside the Flexible Pipe
E_FAIL
operation failed
o GetCoordinateofNode
public virtual GetCoordinateofNode( oListPofCoordinateNode,
ipIUnkOccToFindRoot= NULL )
Gets the coordinate of Node.
Parameters:
oListPofCoordinateNode
(need to release it) This method returns a list of CATMathPoint pointers that is the coordinate of Node in context of Root product of the session in milimeters (mm). Root product will be found using the input ipIUnkOccToFindRoot. The size of this list is equal to oNumberOfNode from GetNumberOfNode. [out, CATLISTP(CATMathPoint)].
ipIUnkOccToFindRoot
Occurrence used to find the Root Product in which context the coordinates of the nodes will be given out. If this input is NULL, then co-ordinates of the node will be in the context of the Reference of pipe. [in, CATBaseUnknown].
Returns:
An HRESULT value.
Legal values:
E_INVALIDARG
Input is invalid - output list is not empty
S_OK
operation is successful, even if there is Zero node to define this Pipe/tube
E_FAIL
operation failed
o GetEnds
public virtual GetEnds( opIEndPipeOne,
opIEndPipeTwo)
Gets the two end of Flexible Pipe/Tube.
Parameters:
opIEndPipeOne
[out, CATIPipPipingPortRef #Release]. Pipe end one.
opIEndPipeTwo
[out, CATIPipPipingPortRef #Release]. Pipe end two.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o GetFlexibleInformation
public virtual GetFlexibleInformation( oAccuracy,
oFlexibility,
oTemperature,
oPressure)
Gets the Flexible parameters in term of Accuracy, Flexibility, Temperature and pressure.
Parameters:
oAccuracy
Value of the Accuracy between 1 to 10 [out, integer] Balance between the Performance (1) and Accurary (10)
oFlexibility
Value of the Flexibility between 1 to 6 [out, integer] Default material: from very stiff (1) to very flexible (6), if no material object is attach to flexible pipe
oTemperature
Value of temperature in Kelvin [out, double]
oPressure
Value of pressure in N/m2 [out, double]
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_FAIL
operation failed
o GetLength
public virtual GetLength( oLength)
Gets the length of flexible Pipe/Tube.
Parameters:
oLength
Value of the actual total geometric length of Flexible Pipe/tube [out, double] whatever may be the build mode of the Flexible Pipe/tube. Note that this value might be different than the value set as input length for 'Length Build Mode' of the Flexible Pipe/tube.
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_INVALIDARG
Failed to find the Flexible Curve inside the Flexible Pipe
E_FAIL
operation failed
o GetNumberOfNode
public virtual GetNumberOfNode( oNumberOfNode)
Gets the number of node in Pipe/Tube.
Parameters:
oNumberOfNode
Give the number of node that defines the flexible Pipe curve. Include: Directional point, passing point (which is or not an external reference), point which is External reference that come from Support or Piping Part with Hole Port. The point of 1 point Part Port or 2 points Part port is also included. [out, Integer].
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful, even if there is Zero node to define this Pipe/tube
E_FAIL
operation failed
o GetSlack
public virtual GetSlack( oSlackValue)
Gets the slack of flexible Pipe/Tube.
Parameters:
oSlackValue
Value of the Slack [out, double].
Returns:
An HRESULT value.
Legal values:
S_OK
operation is successful
E_INVALIDARG
Failed to find the Flexible Curve inside the Flexible Pipe
E_FAIL
operation failed

Enumerated Types


o CATFlexiblePipeAlgorithmMode
enum CATFlexiblePipeAlgorithmMode {
  CatStandard,
  CatFlexible
}
Flexible Pipe Algorithm Mode.
Parameters:
CatStandard
Standard mode computation.
CatFlexible
Flexible mode computation.
o CATFlexiblePipeBuildMode
enum CATFlexiblePipeBuildMode {
  CATPipSlack,
  CATPipBend,
  CATPipLength
}
Flexible Pipe Build Mode.
Parameters:
CATPipSlack
Slack build mode.
CATPipBend
Bend build mode.
CATPipLength
Length build mode.

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

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