GetEllipsoid

Since v7.0
public class GetEllipsoid : IDisposable
Class provides user interface to define an ellipsoid.

Constructors

GetEllipsoid

#Since v7.0
public GetEllipsoid()

Finalizer

~GetEllipsoid

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

Properties

FirstPoint

#Since v7.0
public Point3d FirstPoint { get; }
Returns the first point. If in "from foci" mode, then this is the first foci point.

IsModeFromFoci

#Since v7.0
public bool IsModeFromFoci { get; }
Indicates the ellipsoid was created from foci.

MarkFoci

#Since v7.0
public bool MarkFoci { get; set; }
Indicates the user wants the ellipsoid foci marked with point objects.

Plane

#Since v8.29
public Plane Plane { get; }
The plane the ellipsoid was created in.

SecondPoint

#Since v7.0
public Point3d SecondPoint { get; }
Returns the second point. If in "from foci" mode, then this is the second foci point.

Methods

Dispose

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

Dispose

#
protected virtual void Dispose(bool disposing)
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.

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

Get

#Since v7.0
public Result Get(out NurbsSurface ellipsoid)
Prompt for the getting of an ellipsoid.
ellipsoid (out NurbsSurface)The ellipsoid in NURB form.
The result of the getting operation.

GetMesh

#Since v7.0
public Result GetMesh(ref int verticalFaces, ref int aroundFaces, out Mesh ellipsoid)
Prompt for the getting of a mesh ellipsoid.
verticalFaces (ref int)The number of faces in the vertical direction.
aroundFaces (ref int)The number of faces in the around direction
ellipsoid (out Mesh)The ellipsoid in Mesh form.
The result of the getting operation.

GetMesh

#Since v7.0
public Result GetMesh(ref int verticalFaces, ref int aroundFaces, ref bool quadCaps, out Mesh ellipsoid)
Prompt for the getting of a mesh ellipsoid.
verticalFaces (ref int)The number of faces in the vertical direction.
aroundFaces (ref int)The number of faces in the around direction
quadCaps (ref bool)Set true to create quad faces at the caps, false for triangles.
ellipsoid (out Mesh)The ellipsoid in Mesh form.
The result of the getting operation.