gCAD3D 2.35
xa_cont.c File Reference

create-countour-functions AP_cont_ More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <math.h>
#include "../ut/ut_geo.h"
#include "../ut/ut_txt.h"
#include "../ut/ut_TX.h"
#include "../db/ut_DB.h"
#include "../ut/func_types.h"
#include "../ci/NC_apt.h"

Functions

int AP_cont_PTmod1 (int imod)
 
int AP_cont_PTmod (Point *p0, Point *ptTab, int ptNr, int imod)
 
int AP_cont_nearPt (Point *p0, Point *ptTab, int ptNr)
 
int AP_cont_skip (int *iIn, int aus_anz, int aus_typ[], double aus_tab[])
 
int AP_cont_mod (int *dreh, int *imod, int iIn, int aus_anz, int aus_typ[], double aus_tab[])
 
int AP_cont_Conn__ ()
 
int AP_cont_ConnLn (Line *lno, int iMod, Point *p1a, Point *p1e, Point *p2a, Point *p2e)
 
int AP_cont_inv (int iMod)
 
int AP_cont_intPt (int iNr, Point *pta)
 

Variables

int APT_obj_stat
 
static char o1Dat [OBJ_SIZ_MAX]
 
static char o2Dat [OBJ_SIZ_MAX]
 
static int o1Ind
 
static int o2Ind
 
static int o1Typ
 
static int o2Typ
 
static Point pto1a
 
static Point pto1e
 
static Point pto2a
 
static Point pto2e
 
static int modFlg
 
static int o1_mod
 
static int o1_sr
 
static int contNr
 
static int o1_clo
 

Detailed Description

create-countour-functions AP_cont_

=====================================================
List_functions_start:
AP_cont_nxt main
AP_cont_PTmod1 get index
AP_cont_PTmod get index
AP_cont_nearPt get index of nearest Point
AP_cont_skip skip CW/CCW und MOD()
AP_cont_mod get CW/CCW und MOD(#)
AP_cont_ConnLn give ConnectionLine
AP_cont_inv invert lin.curves in structs according to iMod
AP_cont_intPt select intersectionPoint
// AP_cont_nxPT PT -> ObjGX
List_functions_end:
=====================================================

Function Documentation

int AP_cont_PTmod1 ( int  imod)
int AP_cont_PTmod ( Point p0,
Point ptTab,
int  ptNr,
int  imod 
)
int AP_cont_nearPt ( Point p0,
Point ptTab,
int  ptNr 
)
int AP_cont_skip ( int *  iIn,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)
int AP_cont_mod ( int *  dreh,
int *  imod,
int  iIn,
int  aus_anz,
int  aus_typ[],
double  aus_tab[] 
)
returns rotSense (CW|CCW) and modifier (MOD)
Output:
dreh 1=CCW; -1=CW; 0=undefined
imod 0=undefined, else MOD#
modFlg (extern) -1=imod not valid; else MOD#
int AP_cont_Conn__ ( )
int AP_cont_ConnLn ( Line lno,
int  iMod,
Point p1a,
Point p1e,
Point p2a,
Point p2e 
)
int AP_cont_inv ( int  iMod)
int AP_cont_intPt ( int  iNr,
Point pta 
)

Variable Documentation

int APT_obj_stat
char o1Dat[OBJ_SIZ_MAX]
static
char o2Dat[OBJ_SIZ_MAX]
static
int o1Ind
static
int o2Ind
static
int o1Typ
static
int o2Typ
static
Point pto1a
static
Point pto1e
static
Point pto2a
static
Point pto2e
static
int modFlg
static
int o1_mod
static
int o1_sr
static
int contNr
static
int o1_clo
static