annulus_surface

This produces an annulus centered on the z axis.

../../_images/kgeobag_annulus_surface_model.png
  • Works with MeshViewer: Yes.

  • Works with GeometryViewer: Yes.

XML element: <annulus_surface>
C++ type: KGAnnulusSurface
Attributes

Attribute

Type

Description

axial_mesh_count

unsigned int

axial mesh parameter (default is 16)

name

string

r1

double

the first of the radii in meters

r2

double

the second radius in meters

radial_mesh_count

unsigned int

radial mesh parameter (default is 1)

radial_mesh_power

double

radial meshing power (default is 1.)

z

double

z-position in meters

Example:

<annulus_surface name="annulus_surface" z="-.01" r1="0.1" r2="0.45" radial_mesh_count="22" radial_mesh_power="1.5" axial_mesh_count="32"/>

Used as:

More information

Explained in: Basic Shapes in KGeoBag

Appears in the documentation:

Used in example configurations: