rotated_poly_line_space

Generates a volume enclosed by a surface of revolution produced from rotating a poly-line.

../../_images/kgeobag_rotated_poly_line_space_model.png
  • Works with GeometryViewer: Yes.

  • Works with MeshViewer: Yes.

XML element: <rotated_poly_line_space>
C++ type: KGRotatedPolyLineSpace
Child elements

Element

Description

poly_line

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

Attributes

Attribute

Type

Description

flattened_mesh_count

unsigned int

flattened_mesh_power

double

name

string

rotated_mesh_count

unsigned int

Example:

<rotated_poly_line_space name="rotated_poly_line_reverse_space" rotated_mesh_count="128" flattened_mesh_count="36" flattened_mesh_power="3.8">
    <poly_line>
        <start_point x="-0.1" y="0.1"/>
        <next_arc x="-0.3" y="0.3" radius="0.315" right="false" short="true" arc_mesh_count="24"/>
        <next_line x="0.2" y="0.4" line_mesh_count="52" line_mesh_power="3.5"/>
        <next_line x="0.1" y="0.1" line_mesh_count="24" line_mesh_power="2."/>
    </poly_line>
</rotated_poly_line_space>

Used as:

More information

Explained in: Basic Shapes in KGeoBag

Appears in the documentation:

Used in example configurations: