Eyeshot 10 WinForms API Reference
RevolveAdd(Region,Double,Double,Vector3D,Point3D,Int32,Double) Method

WinForms Assembly > devDept.Eyeshot.Entities Namespace > Solid Class > RevolveAdd Method : RevolveAdd(Region,Double,Double,Vector3D,Point3D,Int32,Double) Method
The Region to revolve
Revolution start angle in radians
Revolution delta angle in radians
Axis direction
Axis start point
Number of slices generated. This value can be also found using %Utility.NumberOfSegments(double, double, double)%
Entity region needs to be converted to Solid, this is the conversion tolerance
Modifies current solid revolving a Region around an axis and adding.
Syntax
'Declaration
 
Public Overloads Function RevolveAdd( _
   ByVal region As Region, _
   ByVal startAngle As Double, _
   ByVal deltaAngle As Double, _
   ByVal axis As Vector3D, _
   ByVal center As Point3D, _
   ByVal slices As Integer, _
   ByVal tolerance As Double _
) As Boolean
public bool RevolveAdd( 
   Region region,
   double startAngle,
   double deltaAngle,
   Vector3D axis,
   Point3D center,
   int slices,
   double tolerance
)

Parameters

region
The Region to revolve
startAngle
Revolution start angle in radians
deltaAngle
Revolution delta angle in radians
axis
Axis direction
center
Axis start point
slices
Number of slices generated. This value can be also found using %Utility.NumberOfSegments(double, double, double)%
tolerance
Entity region needs to be converted to Solid, this is the conversion tolerance

Return Value

True if the operation is successful, false otherwise.
See Also

Reference

Solid Class
Solid Members
Overload List