ut_cvApp.c File Reference


Detailed Description

Approximation Polygon -> LineCircle.

=====================================================
Liste_Funktionen_Beginn:

cvApp_test_wr
cvApp_app            change polygon -> circles/lines
cvApp_reset_work
cvApp_work           test tangent
cvApp_check_dist
cvApp_check_nearest
cvApp_check_obj
cvApp_BB2
cvApp_BB1            3 circles - different directions
cvApp_2B
cvApp_1B1
cvApp_BL
cvApp_out_obj        copy out
cvApp_loadLastVec    get exiting vec
cvApp_delLastLine    eliminate line

Liste_Funktionen_Ende:
=====================================================

- OFFLINE tests:
main

#include "../xa/MS_Def0.h"
#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]


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]


Generated on Sat May 30 09:31:54 2009 for gCAD3D by  doxygen 1.5.6