gCAD3D 2.35
ut_hatch.c File Reference

hatch 2D More...

#include <math.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "../ut/ut_geo.h"
#include "../ut/func_types.h"
#include "../xa/xa_mem.h"

Macros

#define TCLA_SIZ   1000
 
#define HATCH_SIZ_SPA   32
 

Functions

int UT_hatch_2D (int *lnNr, Line2 *ln2a, short unsigned *ln2ia, short unsigned *ln2ie, int ptNr, Point2 *pt2a, double soff)
 
int UT_hatch__ (int *lnNr, Line *lTab, int dbTyp, long dbInd, double hoff, double hdir)
 
int UT_hatch_pta (int *lnNr, Line *lTab, int ptNr, Point *pta, double hoff, double hdir)
 

Detailed Description

hatch 2D

=====================================================
List_functions_start:
UT_hatch_2D hatch polygon
UT_hatch_ccv hatch CCV
List_functions_end:
=====================================================

Macro Definition Documentation

#define TCLA_SIZ   1000
#define HATCH_SIZ_SPA   32

Function Documentation

int UT_hatch_2D ( int *  lnNr,
Line2 ln2a,
short unsigned *  ln2ia,
short unsigned *  ln2ie,
int  ptNr,
Point2 pt2a,
double  soff 
)
schraffieren des Polygons pt2a[ptNr].
Ausgabe der 2D-Linien -> ln2a[lnNr].
IN: lnNr: max Anzahl von Lines.
soff: Abstand der Schraffurlinien.
int UT_hatch__ ( int *  lnNr,
Line lTab,
int  dbTyp,
long  dbInd,
double  hoff,
double  hdir 
)

hatch CCV

int UT_hatch_pta ( int *  lnNr,
Line lTab,
int  ptNr,
Point pta,
double  hoff,
double  hdir 
)

hatch pta