OpenCPN Partial API docs
Loading...
Searching...
No Matches
PI_line_segment_element Class Reference

Represents a line segment element for efficient vector chart rendering. More...

#include <ocpn_plugin.h>

Public Attributes

size_t vbo_offset
 Offset into vertex buffer object for this segment.
 
size_t n_points
 Number of points in this line segment.
 
int priority
 Drawing priority (higher draws on top)
 
float lat_max
 Maximum latitude of segment's bounding box.
 
float lat_min
 Minimum latitude of segment's bounding box.
 
float lon_max
 Maximum longitude of segment's bounding box.
 
float lon_min
 Minimum longitude of segment's bounding box.
 
int type
 Line type identifier.
 
void * private0
 Private data pointer for implementation use.
 
PI_line_segment_elementnext
 Pointer to next segment in linked list.
 

Detailed Description

Represents a line segment element for efficient vector chart rendering.

This class stores geometry and rendering information for line segments in vector charts. It's designed for optimal OpenGL rendering using vertex buffer objects and spatial indexing.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 3556 of file ocpn_plugin.h.

Member Data Documentation

◆ lat_max

float PI_line_segment_element::lat_max

Maximum latitude of segment's bounding box.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 3561 of file ocpn_plugin.h.

◆ lat_min

float PI_line_segment_element::lat_min

Minimum latitude of segment's bounding box.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 3562 of file ocpn_plugin.h.

◆ lon_max

float PI_line_segment_element::lon_max

Maximum longitude of segment's bounding box.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 3563 of file ocpn_plugin.h.

◆ lon_min

float PI_line_segment_element::lon_min

Minimum longitude of segment's bounding box.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 3564 of file ocpn_plugin.h.

◆ n_points

size_t PI_line_segment_element::n_points

Number of points in this line segment.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 3559 of file ocpn_plugin.h.

◆ next

PI_line_segment_element* PI_line_segment_element::next

Pointer to next segment in linked list.

Used for maintaining collections of segments.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 3572 of file ocpn_plugin.h.

◆ priority

int PI_line_segment_element::priority

Drawing priority (higher draws on top)

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 3560 of file ocpn_plugin.h.

◆ private0

void* PI_line_segment_element::private0

Private data pointer for implementation use.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 3566 of file ocpn_plugin.h.

◆ type

int PI_line_segment_element::type

Line type identifier.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 3565 of file ocpn_plugin.h.

◆ vbo_offset

size_t PI_line_segment_element::vbo_offset

Offset into vertex buffer object for this segment.

Examples
/home/runner/work/main/main/opencpn/include/ocpn_plugin.h.

Definition at line 3558 of file ocpn_plugin.h.


The documentation for this class was generated from the following file: