Sets the bulge of a segment within the geometry in the current open Item. The bulge factor determines the segment’s arc radius. A bulge factor of 0 defines a straight line. The bulge factor may or may not be positive dependent on the axis of a bulge segment. The axis x, y and z component of the axis vector can be queried with the GetGeomSegAxis method.
Note: Moving a bulge segment may or may not invert the z component of the axis vector.
The bulge factor is derived from the arc radius by calculating the tangent of one-fourth of the included angle between the segment’s start and end points as shown in the figure below.
The bulge factor is tan(q/4) or b/a.
To get the bulge of a segment within the geometry in the current item, see GetGeomSegBulge
Visual Basic |
---|
Public Function SetGeomSegBulge( _ ByVal nGeom As Long, _ ByVal nSeg As Long, _ ByVal bulge As Double _ ) As Integer |
Available: GEO MM ME MD OD OM SISpy
Group:
sis.SetGeomSegBulge (0, 3, 0.25)
Send comments on this topic.
Click to return to www.cadcorp.com
© Copyright 2000-2017 Computer Aided Development Corporation Limited (Cadcorp).