# Ellipsoid

Model ElementThe Ellipsoid element allows you to represent a geometric figure whose plane sections are ellipses or circles.

Ellipsoid

## Attribute Summary

Name Property Modifiable by command? Designable?
cm Reference(Marker) NO Yes
xscale Double() Yes
yscale Double() Yes
zscale Double() Yes
refinement_level Int ()
material_inside Bool ()
color String()

## Usage

Ellipsoid (cm=Marker(), xscale=100, yscale=200, zscale=200)

## Attributes

cm
Reference (Marker)
The marker is used as a coordinate system for the center of the Ellipsoid graphic.
xscale
Double()
The diameter of the ellipsoid along the x-axis of the cm marker.
yscale
Double()
The diameter of the ellipsoid along the y-axis of the cm marker.
zscale
Double()
The diameter of the ellipsoid along the z-axis of the cm marker.
refinement_level
Int ()
Specifies the level of detail of the ellipsoid graphic entity. Default is 2.
material_inside
Bool ()
Specifies if the graphic has material inside or outside. material_inside is a boolean flag (TRUE/FALSE).
TRUE means the geometry is solid. In other words, it is filled with material and its exterior is devoid of material. Consequently, the surface normals of the geometry point outward.
FALSE means the converse: The exterior of the geometry is filled with material and the interior is devoid of material. In this case, the surface normals of the geometry point inward.
color
String()
The color of the graphic for H3D animation. Specified as RGB (Red : Green : Blue).

## Examples

Define ellipsoid geometry.
Ellipsoid (cm=Marker(), xscale=100, yscale=100, zscale=200)