flattened_poly_loop_surface

A flattened poly loop surface is a surface consisting of several lines, arcs or both, creating a polygon of your desired shape. The first line and the last line are connected automatically. By using the features of the <poly_loop>, this provides a very flexible method of designing surface elements.

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

  • Works with GeometryViewer: Yes.

XML element: <flattened_poly_loop_surface>
C++ type: KGFlattenedPolyLoopSurface
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

flattened_mesh_count

unsigned int

flattened_mesh_power

double

name

string

z

double

Example:

<flattened_poly_loop_surface name="flattened_poly_loop_surface" z="0.1" flattened_mesh_count="10" flattened_mesh_power="4.">
    <poly_loop>
        <start_point x="0." y="0."/>
        <next_line x="0.4" y="-0.1" line_mesh_count="10" line_mesh_power="2.5"/>
        <next_arc x="-0.1" y="0.4" radius="0.6" right="true" short="false" arc_mesh_count="256"/>
        <last_line line_mesh_count="10" line_mesh_power="2.5"/>
    </poly_loop>
</flattened_poly_loop_surface>

Used as:

More information

Explained in: Basic Shapes in KGeoBag

Appears in the documentation:

Used in example configurations: