dgnlib
Public Attributes | List of all members
DGNElemCore Struct Reference

#include <dgnlib.h>

Public Attributes

int offset
 
int size
 
int element_id
 
int stype
 
int level
 
int type
 
int complex
 
int deleted
 
int graphic_group
 
int properties
 
int color
 
int weight
 
int style
 
int attr_bytes
 
unsigned char * attr_data
 
int raw_bytes
 
unsigned char * raw_data
 

Detailed Description

Core element structure.

Core information kept about each element that can be read from a DGN file. This structure is the first component of each specific element structure (like DGNElemMultiPoint). Normally the DGNElemCore.stype field would be used to decide what specific structure type to case the DGNElemCore pointer to.

Member Data Documentation

◆ attr_bytes

int DGNElemCore::attr_bytes

Bytes of attribute data, usually zero.

◆ attr_data

unsigned char* DGNElemCore::attr_data

Raw attribute data

◆ color

int DGNElemCore::color

Color index (0-255)

◆ complex

int DGNElemCore::complex

Is element complex?

◆ deleted

int DGNElemCore::deleted

Is element deleted?

◆ element_id

int DGNElemCore::element_id

Element number (zero based)

◆ graphic_group

int DGNElemCore::graphic_group

Graphic group number

◆ level

int DGNElemCore::level

Element Level: 0-63

◆ properties

int DGNElemCore::properties

Properties: ORing of DGNPF_ flags

◆ raw_bytes

int DGNElemCore::raw_bytes

Bytes of raw data, usually zero.

◆ raw_data

unsigned char* DGNElemCore::raw_data

All raw element data including header.

◆ style

int DGNElemCore::style

Line Style: One of DGNS_* values

◆ stype

int DGNElemCore::stype

Structure type: (DGNST_*)

◆ type

int DGNElemCore::type

Element type (DGNT_)

◆ weight

int DGNElemCore::weight

Line Weight (0-31)


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