<![CDATA[ ]]>All Cadcorp SIS API Methods
Gets the shape of a segment within the geometry of the current open Item.
Public Function GetGeomSegShape( _ ByVal nGeom As Long, _ ByVal nSeg As Long _ ) As Integer
- The index of the geometry component, starting at 0.
- The index of the segment within the geometry component.
||The segment is straight.|
||The segment is a bulge.|
||The segment is a bezier.|
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
Evaluates the shape of the first segment of a single piece of geometry.