Hide Table of Contents
ICreateToroidalSurface Method (IModeler)

Creates an untrimmed toroidal surface from the specified arguments.

.NET Syntax

Visual Basic (Declaration) 
Function ICreateToroidalSurface( _
   ByRef Center As System.Double, _
   ByRef Axis As System.Double, _
   ByRef RefDirection As System.Double, _
   ByVal MajorRadius As System.Double, _
   ByVal MinorRadius As System.Double _
) As Surface
Visual Basic (Usage) 
Dim instance As IModeler
Dim Center As System.Double
Dim Axis As System.Double
Dim RefDirection As System.Double
Dim MajorRadius As System.Double
Dim MinorRadius As System.Double
Dim value As Surface
 
value = instance.ICreateToroidalSurface(Center, Axis, RefDirection, MajorRadius, MinorRadius)
C# 
Surface ICreateToroidalSurface( 
   ref System.double Center,
   ref System.double Axis,
   ref System.double RefDirection,
   System.double MajorRadius,
   System.double MinorRadius
)
C++/CLI 
Surface^ ICreateToroidalSurface( 
&   System.double% Center,
&   System.double% Axis,
&   System.double% RefDirection,
&   System.double MajorRadius,
&   System.double MinorRadius
) 

Parameters

Center
Array containing 3 doubles (see Remarks)
Axis
Array containing 3 doubles (see Remarks)
RefDirection
Array containing 3 doubles (see Remarks)
MajorRadius
See Remarks
MinorRadius
See Remarks

Remarks

Input arguments:

  • Center XYZ location that represents the center of the spherical surface.

  • Axis XYZ direction of the axis of the spherical surface.

  • RefDirection XYZ direction of the reference axis of the spherical surface; it must be perpendicular to the axis.

  • MajorRadius major radius of the toroidal surface.

  • MinorRadius minor radius of the toroidal surface.

The resulting surface can be trimmed using a method like ISurface::CreateTrimmedSheet or ISurface::CreateTrimmedSheet3 to generate a sheet body.

 

See Also

Availability

SOLIDWORKS 99, datecode 1999207


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   ICreateToroidalSurface Method (IModeler)
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: API Help (English only) 2018 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.