GetCylinder
Class provides user interface to define a cylinder.
Constructors
public GetCylinder()
Finalizer
~GetCylinder
#~GetCylinder()
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
Properties
The minimum number of faces in the around direction.
Determine if the "both sides" option is enabled
State of the cone/cylinder constraint option. When the cone/cylinder option is selected, the circle is being made as a base for a cone/cylinder. By default the vertical cone/cylinder option not available but is not selected. By default the "Vertical" option applies to VerticalCircle.
Default radius or diameter (based on InDiameterMode)
Determines if the "size" value is representing a radius or diameter
Methods
public void Dispose()
Actively reclaims unmanaged resources that this instance uses.
Dispose
#For derived class implementers.
This method is called with argument true when class user calls Dispose(), while with argument false when the Garbage Collector invokes the finalizer, or Finalize() method.
You must reclaim all used unmanaged resources in both cases, and can use this chance to call Dispose on disposable fields if the argument is true.
Also, you must call the base virtual method within your overriding method.
Parameters:
| disposing (bool) | true if the call comes from the Dispose() method; false if it comes from the Garbage Collector finalizer. |
Prompt for the getting of a cylinder.
Parameters:
| cylinder (out Cylinder) | The cylinder geometry defined by the user. |
Returns: The result of the getting operation.
Prompt for the getting of a cylinder.
Parameters:
| cylinder (out Extrusion) | The cylinder geometry defined by the user. |
Returns: The result of the getting operation.
Prompt for the getting of a mesh cylinder.
public Result GetMesh(ref int verticalFaces, ref int aroundFaces, ref int capStyle, out Cylinder cylinder)
Prompt for the getting of a mesh cylinder.
Remarks: The prompt for capStyle will only be seen if it's not zero, aroundFaces is even and the solid option is on.
Parameters:
| verticalFaces (ref int) | The number of faces in the vertical direction. |
| aroundFaces (ref int) | The number of faces in the around direction |
| capStyle (ref int) | Set to 0 if you don't want the prompt, 3 is triangles, 4 is quads. |
| cylinder (out Cylinder) | The cylinder geometry defined by the user. |
Returns: The result of the getting operation.