rotated_surface

This shape is very similar to rotated poly-line surface in Basic Shapes in KGeoBag but with other variables. The coordinates in use in this shape are cylindrical. (z,r)

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

  • Works with GeometryViewer: No.

XML element: <rotated_surface>
C++ type: KGWrappedSurface<KGRotatedObject>
Child elements

Element

Description

rotated_object

Attributes

Attribute

Type

Description

name

string

Example:

<rotated_surface name="example_rotated_surface">
    <rotated_object longitudinal_mesh_count_start="10" longitudinal_mesh_count_end="20" longitudinal_mesh_power="2.">
        <line z1="-1." r1="0." z2="-1." r2="1.5"/>
        <line z1="-1." r1="1.5" z2="0." r2="1.5"/>
        <line z1="0." r1="1.5" z2="0." r2=".5"/>
        <line z1="0." r1=".5" z2="1." r2=".5"/>
        <arc z1="1." r1=".5" z2="1." r2="1." radius=".5" positive_orientation="0"/>
        <line z1="1." r1="1." z2="2." r2="1."/>
        <arc z1="2." r1="1." z2="0." r2="2." radius="2" positive_orientation="1"/>
    </rotated_object>
</rotated_surface>

Used as:

More information

Explained in: Complex Shapes in KGeoBag

Appears in the documentation:

Used in example configurations: