shell_poly_line_surface

This produces an angularly limited portion of a surface of revolution from a poly-line that is rotated around the local x-axis.

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

  • Works with GeometryViewer: Yes.

XML element: <shell_poly_line_surface>
C++ type: KGShellPolyLineSurface
Child elements

Element

Description

poly_line

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

Attributes

Attribute

Type

Description

angle_start

double

angle_stop

double

name

string

shell_mesh_count

unsigned int

shell_mesh_power

double

Example:

<shell_poly_line_surface name="shell_poly_line_forward_surface" angle_start="270" angle_stop="120" shell_mesh_count="64" shell_mesh_power="6">
    <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>
</shell_poly_line_surface>

Used as:

More information

Explained in: Basic Shapes in KGeoBag

Appears in the documentation:

Used in example configurations: