GetCylinder

public class GetCylinder : IDisposable
Class provides user interface to define a cylinder.

Constructors

GetCylinder

#Since v6.0
public GetCylinder()

Finalizer

~GetCylinder

#
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
~GetCylinder()

Properties

AroundDirectionMinimumCount

#Since v9.0
The minimum number of faces in the around direction.
public int AroundDirectionMinimumCount { get; set; }

BothSidesOption

#Since v6.0
Determine if the "both sides" option is enabled
public bool BothSidesOption { get; set; }

Cap

#Since v6.0
Gets or sets whether or not the output should be capped.
public bool Cap { get; set; }

CylinderConstraint

#Since v6.0
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.
public CylinderConstraint CylinderConstraint { get; set; }

DefaultSize

#Since v6.0
Default radius or diameter (based on InDiameterMode)
public double DefaultSize { get; set; }

Height

#Since v6.0
Height of cylinder
public double Height { get; set; }

InDiameterMode

#Since v6.0
Determines if the "size" value is representing a radius or diameter
public bool InDiameterMode { get; set; }

VerticalDirectionMinimumCount

#Since v9.0
The minimum number of faces in the vertical direction.
public int VerticalDirectionMinimumCount { get; set; }

Methods

Dispose

#Since v6.0
Actively reclaims unmanaged resources that this instance uses.
public void Dispose()

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.

protected virtual void Dispose(
disposing
true if the call comes from the Dispose() method; false if it comes from the Garbage Collector finalizer.
)

Get

#Since v6.0
Prompt for the getting of a cylinder.
public Result Get(
cylinder
The cylinder geometry defined by the user.
)
The result of the getting operation.

Get

#Since v6.0
Prompt for the getting of a cylinder.
public Result Get(
cylinder
The cylinder geometry defined by the user.
)
The result of the getting operation.

GetMesh

#Since v7.0
Prompt for the getting of a mesh cylinder.
public Result GetMesh(
ref int
verticalFaces,
The number of faces in the vertical direction.
ref int
aroundFaces,
The number of faces in the around direction
cylinder
The cylinder geometry defined by the user.
)
The result of the getting operation.

GetMesh

#Since v7.0
Prompt for the getting of a mesh cylinder.
public Result GetMesh(
ref int
verticalFaces,
The number of faces in the vertical direction.
ref int
aroundFaces,
The number of faces in the around direction
ref int
capStyle,
Set to 0 if you don't want the prompt, 3 is triangles, 4 is quads.
cylinder
The cylinder geometry defined by the user.
)
Remarks: The prompt for capStyle will only be seen if it's not zero, aroundFaces is even and the solid option is on.
The result of the getting operation.