Table of Contents

Class EllipsoidVisual3D

Namespace
HelixToolkit.Wpf
Assembly
HelixToolkit.Wpf.dll

A visual element that shows an axis aligned ellipsoid.

public class EllipsoidVisual3D : MeshElement3D, IAnimatable, IAddChild, IEditableObject
Inheritance
EllipsoidVisual3D
Implements
Inherited Members
Extension Methods

Fields

CenterProperty

Identifies the Center dependency property.

public static readonly DependencyProperty CenterProperty

Field Value

DependencyProperty

PhiDivProperty

Identifies the PhiDiv dependency property.

public static readonly DependencyProperty PhiDivProperty

Field Value

DependencyProperty

RadiusXProperty

Identifies the RadiusX dependency property.

public static readonly DependencyProperty RadiusXProperty

Field Value

DependencyProperty

RadiusYProperty

Identifies the RadiusY dependency property.

public static readonly DependencyProperty RadiusYProperty

Field Value

DependencyProperty

RadiusZProperty

Identifies the RadiusZ dependency property.

public static readonly DependencyProperty RadiusZProperty

Field Value

DependencyProperty

ThetaDivProperty

Identifies the ThetaDiv dependency property.

public static readonly DependencyProperty ThetaDivProperty

Field Value

DependencyProperty

Properties

Center

Gets or sets the center of the ellipsoid (this will set the transform of the element).

public Point3D Center { get; set; }

Property Value

Point3D

The center.

PhiDiv

Gets or sets the number of divisions in the phi direction (from "top" to "bottom").

public int PhiDiv { get; set; }

Property Value

int

The number of divisions.

RadiusX

Gets or sets the X equatorial radius of the ellipsoid.

public double RadiusX { get; set; }

Property Value

double

The radius.

RadiusY

Gets or sets the Y equatorial radius of the ellipsoid.

public double RadiusY { get; set; }

Property Value

double

The radius.

RadiusZ

Gets or sets the polar radius of the ellipsoid.

public double RadiusZ { get; set; }

Property Value

double

The radius.

ThetaDiv

Gets or sets the number of divisions in the theta direction (around the sphere).

public int ThetaDiv { get; set; }

Property Value

int

The number of divisions.

Methods

Tessellate()

Do the tessellation and return the MeshGeometry3D.

protected override MeshGeometry3D? Tessellate()

Returns

MeshGeometry3D

A triangular mesh geometry.