Eyeshot 11 WinForms API Reference
WinForms Assembly / devDept.Eyeshot.Entities Namespace / Solid Class / RevolveAdd Method / RevolveAdd(Region,Double,Double,Vector3D,Point3D,Int32,Double,Solid[]) 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
The other solids that may result from the add operation

In This Topic
    RevolveAdd(Region,Double,Double,Vector3D,Point3D,Int32,Double,Solid[]) Method
    In This Topic
    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, _
       ByRef leftOvers As Solid() _
    ) As Boolean
    public bool RevolveAdd( 
       Region region,
       double startAngle,
       double deltaAngle,
       Vector3D axis,
       Point3D center,
       int slices,
       double tolerance,
       out Solid[] leftOvers
    )

    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
    leftOvers
    The other solids that may result from the add operation

    Return Value

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