CATGSMUseItf Interface CATIGSMUsePolyline

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


interface CATIGSMUsePolyline

Interface to line corner feature.
Role:Allows to access data of the line corner

See also:


Method Index


o CheckNumberOfRadii(int)
Checks Number of radii.
o GetClosure(CATBoolean&)
Gets the closure state.
o GetElements(CATLISTV(CATIMmiMechanicalFeature_var)&,CATCkeListOf(Parm)&)
Gets the list of points.
o GetRadius(int,CATICkeParm_var&)
Gets a radius.
o InsertElement(CATIMmiMechanicalFeature_var,int)
Inserts a point.
o RemoveElement(int)
Removes a point from the feature.
o ReplaceElement(CATIMmiMechanicalFeature_var,int)
Replaces a point.
o SetClosure(CATBoolean)
Sets the closure state.
o SetPoint(int,CATIMmiMechanicalFeature_var)
Sets a point.
o SetRadius(int,CATICkeParm_var)
Sets a radius.

Methods


o CheckNumberOfRadii
public virtual CheckNumberOfRadii( const iMode=1)
Checks Number of radii.
Parameters:
iMode:
=1 Analyze Returns E_FAIL if Number of radii is greater than number of points. =2 Clean the feature Deletes radii not associated to a Polyline point.
o GetClosure
public virtual GetClosure( oClosed)
Gets the closure state.
Parameters:
oClosed

: FALSE means that the Polyline is opened
: TRUE means that the Polyline is closed
o GetElements
public virtual GetElements( oPoints,
ioRadii)
Gets the list of points.
Parameters:
oPoints
The list of points.
o GetRadius
public virtual GetRadius( const iPosition,
oRadius)
Gets a radius.
Parameters:
iPosition
The position of the radius in the list of radius.
oRadius
the radius.
o InsertElement
public virtual InsertElement( const iPoint,
const iPosition)
Inserts a point.
Parameters:
iPosition
The position of the point the list of points.
iPoint
the point.
o RemoveElement
public virtual RemoveElement( const iPosition)
Removes a point from the feature.
Parameters:
iPosition
The position of the point in the list of points.
o ReplaceElement
public virtual ReplaceElement( const iPoint,
const iPosition)
Replaces a point.
Parameters:
iPosition
The position of the point in the list of points.
iPoint
the point.
o SetClosure
public virtual SetClosure( const iClosed)
Sets the closure state.
Parameters:
iClosed

: FALSE means that the Polyline is opened
: TRUE means that the Polyline is closed
o SetPoint
public virtual SetPoint( const iPosition,
const iPoint)
Sets a point.
Parameters:
iPosition
The position of the point in the list of points.
iPoint
the point.
o SetRadius
public virtual SetRadius( const iPosition,
const iRadius)
Sets a radius.
Parameters:
iPosition
The position of the radius in the list of radius.
iRadius
the radius.

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

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