rotated_line_segment_surface

This type generates the surface of revolution formed by a line that is rotated around the x-axis.

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

  • Works with GeometryViewer: Yes.

XML element: <rotated_line_segment_surface>
C++ type: KGRotatedLineSegmentSurface
Child elements

Element

Description

line_segment

Attributes

Attribute

Type

Description

name

string

rotated_mesh_count

unsigned int

Example:

<rotated_line_segment_surface name="rotated_line_segment_forward_surface" rotated_mesh_count="96">
    <line_segment x1="0.15" y1="0.1" x2="-0.1" y2="0.05" line_mesh_count="36" line_mesh_power="2.2"/>
</rotated_line_segment_surface>

Used as:

More information

Explained in: Basic Shapes in KGeoBag

Appears in the documentation:

Used in example configurations: