GetSphere

public class GetSphere : IDisposable
Class provides user interface to define a sphere.

Constructors

GetSphere

#Since v7.0
public GetSphere()

Finalizer

~GetSphere

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

Properties

DefaultSize

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

InDiameterMode

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

Methods

Dispose

#Since v7.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 v7.0
Prompt for the getting of a sphere.
public Result Get(
out Sphere
sphere
The sphere geometry defined by the user.
)
The result of the getting operation.

GetMesh

#Since v7.0
Prompt for the getting of a mesh sphere.
public Result GetMesh(
style,
The style of the mesh sphere.
ref int
verticalFaces,
The number of UV mesh faces in the vertical direction.
ref int
aroundFaces,
The number of UV mesh faces in the around direction.
ref int
triangleSubdivisions,
The number of triangle mesh subdivisions.
ref int
quadSubdivisions,
The number of quad mesh subdivisions.
out Sphere
sphere
The sphere geometry defined by the user.
)
The result of the getting operation.