gCAD3D 2.35
ut_dbo.c File Reference

database-object-functions (typ, DB-index) DBO_ More...

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../ut/ut_geo.h"
#include "../gr/ut_DL.h"

Functions

int DBO_dbo_ato__ (long *ptInd, int *ausInd, int aus_anz, int aus_typ[], double aus_tab[])
 
int DBO_dbo_src__ (int *typ, long *dbi, char *src)
 
int DBO_sel__ (int *typ, long *dbi, long dli)
 
int DBO_dump__ (int typ, long dbi)
 

Detailed Description

database-object-functions (typ, DB-index) DBO_

=====================================================
List_functions_start:
DBO_dbo_src__ decode & create temp obj
DBO_dbo_ato__ create temp obj from atomic-obj
DBO_sel__ change selection into DB-object
DBO_dump__ dump DB-object -> debug-window
List_functions_end:
=====================================================
-see also:
ATO_ato_eval__ create dynam DB-obj from atomic-obj
APT_decode_pt2 create dynam DB-point from atomic-obj

Function Documentation

int DBO_dbo_ato__ ( long *  ptInd,
int *  ausInd,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)

DBO_dbo_ato__ create temp obj from atomic-obj

int DBO_dbo_src__ ( int *  typ,
long *  dbi,
char *  src 
)

DBO_dbo_src__ decode & create temp obj TODO: combine with APED_dbo_oid

int DBO_sel__ ( int *  typ,
long *  dbi,
long  dli 
)
DBO_sel__ change selection into DB-object
Indicate (no object): typ=Typ_TmpPT; Point[0] is always overwritten !
plugins & selectionCallbacks use that, to get selections & indicate
int DBO_dump__ ( int  typ,
long  dbi 
)
dump DB-object -> debug-window
see also UI_dump_obj