rotated_line_segment_space

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

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

  • Works with MeshViewer: Yes.

XML element: <rotated_line_segment_space>
C++ type: KGRotatedLineSegmentSpace
Child elements

Element

Description

line_segment

Attributes

Attribute

Type

Description

flattened_mesh_count

unsigned int

flattened_mesh_power

double

name

string

rotated_mesh_count

unsigned int

Example:

<rotated_line_segment_space name="rotated_line_segment_space" rotated_mesh_count="100" flattened_mesh_count="10" flattened_mesh_power="2.2">
    <line_segment x1="0.15" y1="0.1" x2="-0.1" y2="0.05" line_mesh_count="10" line_mesh_power="2.2"/>
</rotated_line_segment_space>

Used as:

More information

Explained in: Basic Shapes in KGeoBag

Appears in the documentation:

Used in example configurations: