gCAD3D 2.40
ut_cvApp.c File Reference

change polygon -> circles, lines More...

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

Functions

int cvApp_test_wr (Point2 *p2Tab, int ptNr)
 
int cvApp_app (ObjG2 oTab[], int *oTabNr, Point2 pTab[], int pTabNr)
 
int cvApp_reset_work ()
 
int cvApp_work (int istart, int iend, Point2 *pts, Vector2 *vcs, Point2 *pTab)
 
int cvApp_check_dist (int istart, int iend, Point2 *pTab)
 
int cvApp_check_nearest (Point2 *pt, Point2 pTab[], int ie)
 
int cvApp_check_obj (ObjG2 *o1, int is, int ie, Point2 *pTab)
 
int cvApp_BB2 (Point2 *pts, Point2 *pti, Point2 *pte)
 
int cvApp_BB1 (Point2 *pts, Point2 *pti, Point2 *pte)
 
int cvApp_2B (Point2 *pts, Point2 *pte, Vector2 *vc1)
 
int cvApp_1B1 (Point2 *pts, Vector2 *vcs, Point2 *pte)
 
int cvApp_BL (Point2 *pts, Point2 *pti, Point2 *pte)
 
int cvApp_out_obj (ObjG2 *o1)
 
int cvApp_loadLastVec (Vector2 *vc1)
 
int cvApp_delLastLine (int *iend, Point2 *pTab)
 

Variables

static int oTab0Siz
 
static int oTab0Nr
 
static ObjG2oTab0
 
static ObjG2 oTab1 [3]
 
static ObjG2 oTab2 [3]
 

Detailed Description

change polygon -> circles, lines

=====================================================
List_functions_start:
cvApp_app change polygon -> circles/lines
cvApp_work test tangent
cvApp_BB1 3 circles - different directions
cvApp_out_obj copy out
cvApp_loadLastVec get exiting vec
cvApp_delLastLine eliminate line
List_functions_end:
=====================================================

Function Documentation

int cvApp_test_wr ( Point2 p2Tab,
int  ptNr 
)
int cvApp_app ( ObjG2  oTab[],
int *  oTabNr,
Point2  pTab[],
int  pTabNr 
)
* Polygon pTab in Kreisbogen/Linien (oTab) umwandeln
*
* Input:
* oTabNr: beim Entry Size of oTab!
*
int cvApp_reset_work ( )
int cvApp_work ( int  istart,
int  iend,
Point2 pts,
Vector2 vcs,
Point2 pTab 
)
int cvApp_check_dist ( int  istart,
int  iend,
Point2 pTab 
)
int cvApp_check_nearest ( Point2 pt,
Point2  pTab[],
int  ie 
)
int cvApp_check_obj ( ObjG2 o1,
int  is,
int  ie,
Point2 pTab 
)
int cvApp_BB2 ( Point2 pts,
Point2 pti,
Point2 pte 
)
int cvApp_BB1 ( Point2 pts,
Point2 pti,
Point2 pte 
)
int cvApp_2B ( Point2 pts,
Point2 pte,
Vector2 vc1 
)
int cvApp_1B1 ( Point2 pts,
Vector2 vcs,
Point2 pte 
)
int cvApp_BL ( Point2 pts,
Point2 pti,
Point2 pte 
)
int cvApp_out_obj ( ObjG2 o1)
int cvApp_loadLastVec ( Vector2 vc1)
int cvApp_delLastLine ( int *  iend,
Point2 pTab 
)

Variable Documentation

int oTab0Siz
static
int oTab0Nr
static
ObjG2* oTab0
static
ObjG2 oTab1[3]
static
ObjG2 oTab2[3]
static