GetGeomSegShape Method
Description
Gets the shape of a segment within the geometry of the current open Item.
Syntax
Visual Basic |
---|
Public Function GetGeomSegShape( _ ByVal nGeom As Long, _ ByVal nSeg As Long _ ) As Integer |
Parameters
- nGeom
- The index of the geometry component, starting at 0.
- nSeg
- The index of the segment within the geometry component.
Return Type
SIS_LINE_STRAIGHT
|
The segment is straight. |
SIS_LINE_BULGE
|
The segment is a bulge. |
SIS_LINE_BEZIER
|
The segment is a bezier. |
Remarks
Use GetNumGeom to get the number of geometry components in an item.
Items such as blocks, groups, MultiLineStrings, and so on, can be made up of multiple geometry. Therefore the value of nGeom can be greater than 0. Items such as LineString items, polygons, symbols, and so on, are made by a single piece of geometry. Therefore the value would be 0.
Available: GEO D OD OM SISpy
Group:
Example
sis.GetGeomSegShape(0, 0)
Evaluates the shape of the first segment of a single piece of geometry.