| Visual Basic | |
|---|---|
Sub Straighten( _ ByVal VertexIndexStart As System.Integer, _ ByVal VertexIndexEnd As System.Integer _ ) | |
| C# | |
|---|---|
void Straighten( System.int VertexIndexStart, System.int VertexIndexEnd ) | |
| JavaScript | |
|---|---|
Straighten( VertexIndexStart : Number, VertexIndexEnd : Number ) | |
| COM native C++ | |
|---|---|
HRESULT Straighten( LONG VertexIndexStart, LONG VertexIndexEnd ) | |
| C++ | |
|---|---|
DSRESULT Straighten( long VertexIndexStart, long VertexIndexEnd ) | |
Parameters
- VertexIndexStart
- Index corresponding to the vertex at which to start straightening the 3D PolyLine (see Remarks)
- VertexIndexEnd
- Index corresponding to the vertex at which to end straightening the 3D PolyLine
Before calling this method, call IPolyLine3D::GetVerticesCount to get valid values for VertexIndexStart and VertexIndexEnd.
DraftSight V1R3.0
Syntax