rotated_poly_loop_surface

This type generates the surface of revolution created by rotating a poly-loop around the local x-axis.

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

  • Works with GeometryViewer: Yes.

XML element: <rotated_poly_loop_surface>
C++ type: KGRotatedPolyLoopSurface
Child elements

Element

Description

poly_loop

A poly-loop is a closed sequence consisting of several lines and/or arcs that form a polygonal shape.

Attributes

Attribute

Type

Description

name

string

rotated_mesh_count

unsigned int

Example:

<rotated_poly_loop_surface name="rotated_poly_loop_surface" rotated_mesh_count="64">
    <poly_loop>
        <start_point x="0.3" y="0.3"/>
        <next_line x="0.3" y="0.5" line_mesh_count="36" line_mesh_power="2.5"/>
        <next_arc x="0.1" y="0.7" radius="0.25" right="false" short="true" arc_mesh_count="64"/>
        <next_line x="-0.1" y="0.7" line_mesh_count="36" line_mesh_power="2.5"/>
        <next_arc x="-0.3" y="0.5" radius="0.25" right="false" short="true" arc_mesh_count="64"/>
        <next_line x="-0.3" y="0.3" line_mesh_count="36" line_mesh_power="2.5"/>
        <next_arc x="-0.1" y="0.1" radius="0.25" right="false" short="true" arc_mesh_count="64"/>
        <next_line x="0.1" y="0.1" line_mesh_count="36" line_mesh_power="2.5"/>
        <last_arc radius="0.25" right="false" short="true" arc_mesh_count="64"/>
    </poly_loop>
</rotated_poly_loop_surface>

Used as:

More information

Explained in: Basic Shapes in KGeoBag

Appears in the documentation:

Used in example configurations: