OpenCPN Partial API docs
|
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_element * | next |
Pointer to next segment in linked list. | |
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.
Definition at line 3556 of file ocpn_plugin.h.
float PI_line_segment_element::lat_max |
Maximum latitude of segment's bounding box.
Definition at line 3561 of file ocpn_plugin.h.
float PI_line_segment_element::lat_min |
Minimum latitude of segment's bounding box.
Definition at line 3562 of file ocpn_plugin.h.
float PI_line_segment_element::lon_max |
Maximum longitude of segment's bounding box.
Definition at line 3563 of file ocpn_plugin.h.
float PI_line_segment_element::lon_min |
Minimum longitude of segment's bounding box.
Definition at line 3564 of file ocpn_plugin.h.
size_t PI_line_segment_element::n_points |
Number of points in this line segment.
Definition at line 3559 of file ocpn_plugin.h.
PI_line_segment_element* PI_line_segment_element::next |
Pointer to next segment in linked list.
Used for maintaining collections of segments.
Definition at line 3572 of file ocpn_plugin.h.
int PI_line_segment_element::priority |
Drawing priority (higher draws on top)
Definition at line 3560 of file ocpn_plugin.h.
void* PI_line_segment_element::private0 |
Private data pointer for implementation use.
Definition at line 3566 of file ocpn_plugin.h.
int PI_line_segment_element::type |
Line type identifier.
Definition at line 3565 of file ocpn_plugin.h.
size_t PI_line_segment_element::vbo_offset |
Offset into vertex buffer object for this segment.
Definition at line 3558 of file ocpn_plugin.h.