Visual Basic | |
---|---|
Function GetSegmentAngle( _ ByVal SegmentIndex As System.Integer, _ ByRef Angle As System.Double _ ) As System.Boolean |
C# | |
---|---|
System.bool GetSegmentAngle( System.int SegmentIndex, out System.double Angle ) |
JavaScript | |
---|---|
GetSegmentAngle( SegmentIndex : Number ) : { Angle : Number, Success : Boolean } |
COM native C++ | |
---|---|
HRESULT GetSegmentAngle( LONG SegmentIndex, DOUBLE* Angle, VARIANT_BOOL* Success ) |
C++ | |
---|---|
DSRESULT GetSegmentAngle( long SegmentIndex, double* Angle, bool* Success ) |
Parameters
- SegmentIndex
- Index of the vertex whose angle to get (see Remarks)
- Angle[out]
- Angle
- Success[out] or Return Value
- True if the angle of the vertex is returned, false if not
SegmentIndex starts at 0. To determine a valid value for SegmentIndex, call IPolyLine::GetVerticesCount to get the number of vertices in the 2D PolyLine.
For this type of 2D PolyLine... | Number of vertices equals... |
Closed | IPolyLine::GetVerticesCount |
Open | IPolyLine::GetVerticesCount - 1 |
IPolyLine Interface
IPolyLine Members
IPolyLine::IPolyLine::SetSegmentAngle Method
IPolyLine::GetSegmentType Method
IPolyLine::GetSegmentEndWidth Method
IPolyLine::GetSegmentStartWidth Method
IPolyLine::SetSegmentEndWidth Method
IPolyLine::SetSegmentStartWidth Method
IPolyLine Members
IPolyLine::IPolyLine::SetSegmentAngle Method
IPolyLine::GetSegmentType Method
IPolyLine::GetSegmentEndWidth Method
IPolyLine::GetSegmentStartWidth Method
IPolyLine::SetSegmentEndWidth Method
IPolyLine::SetSegmentStartWidth Method
DraftSight V1R1.1