All Frameworks  Class Hierarchy  This Framework  Previous  Next  Indexes

GSMInterfaces Interface CATIGSMPolyline

System.IUnknown
  |
  +---System.IDispatch
    |
    +---System.CATBaseUnknown
      |
      +---CATIGSMPolyline
 

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


interface CATIGSMPolyline

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

See also:
CATIGSMFactory.CreatePolyline


Method Index


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

Methods


o CheckNumberOfRadii
public virtual HRESULT CheckNumberOfRadii( const int iMode=1) = 0
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 HRESULT GetClosure(CATBoolean& oClosed) = 0
Gets the closure state.
Parameters:
oClosed

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

: FALSE means that the Polyline is opened
: TRUE means that the Polyline is closed
o SetRadius
public virtual HRESULT SetRadius( const int iPosition,
const CATICkeParm_var iRadius)= 0
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: CATIGSMPolyline.h
If needed, your Imakefile.mk should include the module: CATGitInterfaces

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