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
-
Gets the closure state.
- Parameters:
-
- oClosed
-
: FALSE means that the Polyline is opened
: TRUE means that the Polyline is closed
o GetElements
-
Gets the list of points.
- Parameters:
-
- oPoints
- The list of points.
o InsertElement
-
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
-
Replaces a point.
- Parameters:
-
- iPosition
- The position of the point in the list of points.
- iPoint
- the point.
o SetClosure
-
Sets the closure state.
- Parameters:
-
- iClosed
-
: FALSE means that the Polyline is opened
: TRUE means that the Polyline is closed
o SetRadius
-
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