rotated_poly_loop_surface
This type generates the surface of revolution created by rotating a poly-loop around the local x-axis.
Works with MeshViewer: Yes.
Works with GeometryViewer: Yes.
XML element:
<rotated_poly_loop_surface>C++ type:
KGRotatedPolyLoopSurfaceDefined in: KGRotatedPolyLoopSurfaceBuilder.hh:30
Element |
Description |
|---|---|
A poly-loop is a closed sequence consisting of several lines and/or arcs that form a polygonal shape. |
Attribute |
Type |
Description |
|---|---|---|
|
|
|
|
|
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:
<rotated_poly_loop_surface>in <geometry>
More information
Explained in: Basic Shapes in KGeoBag
Appears in the documentation:
Basic Shapes in KGeoBag (Rotated poly loop surface)
Used in example configurations: