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

Class representing an S-57 chart object. More...

#include <ocpn_plugin.h>

Public Attributes

char FeatureName [8]
 S-57 feature type code (e.g., "DEPARE")
 
int Primitive_type
 Geometry type (point, line, area)
 
char * att_array
 Array of attribute types.
 
wxArrayOfS57attVal * attVal
 Array of attribute values.
 
int n_attr
 Number of attributes.
 
int iOBJL
 Object lookup index.
 
int Index
 Runtime object index.
 
double x
 X coordinate for point features.
 
double y
 Y coordinate for point features.
 
double z
 Z coordinate (usually depth)
 
int npt
 Number of points in geometry.
 
void * geoPt
 Geometry data for lines/areas.
 
double * geoPtz
 Z values for multipoint features.
 
double * geoPtMulti
 Lat/lon pairs for decomposed points.
 
void * pPolyTessGeo
 Tesselated polygon geometry.
 
double m_lat
 Reference latitude.
 
double m_lon
 Reference longitude.
 
double chart_ref_lat
 Chart reference latitude.
 
double chart_ref_lon
 Chart reference longitude.
 
double lat_min
 Bounding box minimum latitude.
 
double lat_max
 Bounding box maximum latitude.
 
double lon_min
 Bounding box minimum longitude.
 
double lon_max
 Bounding box maximum longitude.
 
int Scamin
 Minimum display scale.
 
bool bIsClone
 True if object is a clone.
 
int nRef
 Reference count for memory management.
 
bool bIsAton
 True if object is an aid to navigation.
 
bool bIsAssociable
 True if object can have relationships.
 
int m_n_lsindex
 Number of line segments.
 
int * m_lsindex_array
 Array of line segment indices.
 
int m_n_edge_max_points
 Maximum points per edge.
 
void * m_chart_context
 Parent chart context.
 
PI_DisCat m_DisplayCat
 Display category (base, standard, other)
 
void * S52_Context
 S52 presentation data.
 
PI_S57Objchild
 Child object list (for multipoint soundings)
 
PI_S57Objnext
 Linked list pointer.
 
double x_rate
 X scale factor.
 
double y_rate
 Y scale factor.
 
double x_origin
 X origin offset.
 
double y_origin
 Y origin offset.
 
int auxParm0
 Auxiliary parameter 0.
 
int auxParm1
 Auxiliary parameter 1.
 
int auxParm2
 Auxiliary parameter 2.
 
int auxParm3
 Auxiliary parameter 3.
 
PI_line_segment_elementm_ls_list
 Line segment list.
 
bool m_bcategory_mutable
 True if category can change.
 
int m_DPRI
 Display priority.
 

Detailed Description

Class representing an S-57 chart object.

This class encapsulates a single feature from an S-57 electronic chart, storing its geometry, attributes, and rendering properties. Used for both simple objects like buoys and complex ones like depth areas.

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

Definition at line 3582 of file ocpn_plugin.h.

Member Data Documentation

◆ att_array

char* PI_S57Obj::att_array

Array of attribute types.

Definition at line 3592 of file ocpn_plugin.h.

◆ attVal

wxArrayOfS57attVal* PI_S57Obj::attVal

Array of attribute values.

Definition at line 3593 of file ocpn_plugin.h.

◆ auxParm0

int PI_S57Obj::auxParm0

Auxiliary parameter 0.

Definition at line 3646 of file ocpn_plugin.h.

◆ auxParm1

int PI_S57Obj::auxParm1

Auxiliary parameter 1.

Definition at line 3647 of file ocpn_plugin.h.

◆ auxParm2

int PI_S57Obj::auxParm2

Auxiliary parameter 2.

Definition at line 3648 of file ocpn_plugin.h.

◆ auxParm3

int PI_S57Obj::auxParm3

Auxiliary parameter 3.

Definition at line 3649 of file ocpn_plugin.h.

◆ bIsAssociable

bool PI_S57Obj::bIsAssociable

True if object can have relationships.

Definition at line 3626 of file ocpn_plugin.h.

◆ bIsAton

bool PI_S57Obj::bIsAton

True if object is an aid to navigation.

Definition at line 3625 of file ocpn_plugin.h.

◆ bIsClone

bool PI_S57Obj::bIsClone

True if object is a clone.

Definition at line 3622 of file ocpn_plugin.h.

◆ chart_ref_lat

double PI_S57Obj::chart_ref_lat

Chart reference latitude.

Definition at line 3612 of file ocpn_plugin.h.

◆ chart_ref_lon

double PI_S57Obj::chart_ref_lon

Chart reference longitude.

Definition at line 3613 of file ocpn_plugin.h.

◆ child

PI_S57Obj* PI_S57Obj::child

Child object list (for multipoint soundings)

Definition at line 3636 of file ocpn_plugin.h.

◆ FeatureName

char PI_S57Obj::FeatureName[8]

S-57 feature type code (e.g., "DEPARE")

Definition at line 3589 of file ocpn_plugin.h.

◆ geoPt

void* PI_S57Obj::geoPt

Geometry data for lines/areas.

Definition at line 3603 of file ocpn_plugin.h.

◆ geoPtMulti

double* PI_S57Obj::geoPtMulti

Lat/lon pairs for decomposed points.

Definition at line 3605 of file ocpn_plugin.h.

◆ geoPtz

double* PI_S57Obj::geoPtz

Z values for multipoint features.

Definition at line 3604 of file ocpn_plugin.h.

◆ Index

int PI_S57Obj::Index

Runtime object index.

Definition at line 3597 of file ocpn_plugin.h.

◆ iOBJL

int PI_S57Obj::iOBJL

Object lookup index.

Definition at line 3596 of file ocpn_plugin.h.

◆ lat_max

double PI_S57Obj::lat_max

Bounding box maximum latitude.

Definition at line 3616 of file ocpn_plugin.h.

◆ lat_min

double PI_S57Obj::lat_min

Bounding box minimum latitude.

Definition at line 3615 of file ocpn_plugin.h.

◆ lon_max

double PI_S57Obj::lon_max

Bounding box maximum longitude.

Definition at line 3618 of file ocpn_plugin.h.

◆ lon_min

double PI_S57Obj::lon_min

Bounding box minimum longitude.

Definition at line 3617 of file ocpn_plugin.h.

◆ m_bcategory_mutable

bool PI_S57Obj::m_bcategory_mutable

True if category can change.

Definition at line 3652 of file ocpn_plugin.h.

◆ m_chart_context

void* PI_S57Obj::m_chart_context

Parent chart context.

Definition at line 3631 of file ocpn_plugin.h.

◆ m_DisplayCat

PI_DisCat PI_S57Obj::m_DisplayCat

Display category (base, standard, other)

Definition at line 3633 of file ocpn_plugin.h.

◆ m_DPRI

int PI_S57Obj::m_DPRI

Display priority.

Definition at line 3653 of file ocpn_plugin.h.

◆ m_lat

double PI_S57Obj::m_lat

Reference latitude.

Definition at line 3609 of file ocpn_plugin.h.

◆ m_lon

double PI_S57Obj::m_lon

Reference longitude.

Definition at line 3610 of file ocpn_plugin.h.

◆ m_ls_list

PI_line_segment_element* PI_S57Obj::m_ls_list

Line segment list.

Definition at line 3651 of file ocpn_plugin.h.

◆ m_lsindex_array

int* PI_S57Obj::m_lsindex_array

Array of line segment indices.

Definition at line 3629 of file ocpn_plugin.h.

◆ m_n_edge_max_points

int PI_S57Obj::m_n_edge_max_points

Maximum points per edge.

Definition at line 3630 of file ocpn_plugin.h.

◆ m_n_lsindex

int PI_S57Obj::m_n_lsindex

Number of line segments.

Definition at line 3628 of file ocpn_plugin.h.

◆ n_attr

int PI_S57Obj::n_attr

Number of attributes.

Definition at line 3594 of file ocpn_plugin.h.

◆ next

PI_S57Obj* PI_S57Obj::next

Linked list pointer.

Definition at line 3637 of file ocpn_plugin.h.

◆ npt

int PI_S57Obj::npt

Number of points in geometry.

Definition at line 3602 of file ocpn_plugin.h.

◆ nRef

int PI_S57Obj::nRef

Reference count for memory management.

Definition at line 3623 of file ocpn_plugin.h.

◆ pPolyTessGeo

void* PI_S57Obj::pPolyTessGeo

Tesselated polygon geometry.

Definition at line 3607 of file ocpn_plugin.h.

◆ Primitive_type

int PI_S57Obj::Primitive_type

Geometry type (point, line, area)

Definition at line 3590 of file ocpn_plugin.h.

◆ S52_Context

void* PI_S57Obj::S52_Context

S52 presentation data.

Definition at line 3635 of file ocpn_plugin.h.

◆ Scamin

int PI_S57Obj::Scamin

Minimum display scale.

Definition at line 3620 of file ocpn_plugin.h.

◆ x

double PI_S57Obj::x

X coordinate for point features.

Definition at line 3599 of file ocpn_plugin.h.

◆ x_origin

double PI_S57Obj::x_origin

X origin offset.

Definition at line 3642 of file ocpn_plugin.h.

◆ x_rate

double PI_S57Obj::x_rate

X scale factor.

Definition at line 3640 of file ocpn_plugin.h.

◆ y

double PI_S57Obj::y

Y coordinate for point features.

Definition at line 3600 of file ocpn_plugin.h.

◆ y_origin

double PI_S57Obj::y_origin

Y origin offset.

Definition at line 3643 of file ocpn_plugin.h.

◆ y_rate

double PI_S57Obj::y_rate

Y scale factor.

Definition at line 3641 of file ocpn_plugin.h.

◆ z

double PI_S57Obj::z

Z coordinate (usually depth)

Definition at line 3601 of file ocpn_plugin.h.


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