rotated_poly_line_surface

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

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

  • Works with GeometryViewer: Yes.

XML element: <rotated_poly_line_surface>
C++ type: KGRotatedPolyLineSurface
Child elements

Element

Description

poly_line

This element is desribed using the same procedure as in poly-loop.

Attributes

Attribute

Type

Description

name

string

rotated_mesh_count

unsigned int

Example:

<rotated_poly_line_surface name="rotated_poly_line_forward_surface" rotated_mesh_count="64">
    <poly_line>
        <start_point x="0.2" y="0.3"/>
        <next_line x="0.1" y="0.1" line_mesh_count="36" line_mesh_power="4.5"/>
        <next_arc x="-0.1" y="0.1" radius="0.2" right="true" short="true" arc_mesh_count="96"/>
        <next_line x="-0.2" y="0.2" line_mesh_count="36" line_mesh_power="1."/>
        <next_line x="-0.3" y="0.1" line_mesh_count="24" line_mesh_power="4.5"/>
    </poly_line>
</rotated_poly_line_surface>

Used as:

More information

Explained in: Basic Shapes in KGeoBag

Appears in the documentation:

Used in example configurations: