Macros | Functions
intersection.c File Reference
#include "../c/eus.h"
Include dependency graph for intersection.c:

Go to the source code of this file.

Macros

#define clipcode(x, y, z)
 

Functions

static eusfloat_tcrossproduct (eusfloat_t *a, eusfloat_t *b, eusfloat_t *r)
 
static eusfloat_t determinant3 (eusfloat_t *a, eusfloat_t *b, eusfloat_t *c)
 
pointer HOMO2NORMAL (context *ctx, int n, argv)
 
pointer HOMO_VPCLIP (context *ctx, int n, argv)
 
pointer HOMOGENIZE (context *ctx, int n, argv)
 
static void init_object_module ()
 
pointer intersection ()
 
pointer intersection (context *ctx, int n, argv)
 
pointer LINEINTERSECTION (context *ctx, int n, argv)
 
pointer LINEINTERSECTION3 (context *ctx, int n, argv)
 
pointer makefvector ()
 
pointer VPCLIP (context *ctx, int n, argv)
 
static int windowcoords (eusfloat_t x, eusfloat_t y, eusfloat_t z, eusfloat_t w, wc)
 

Macro Definition Documentation

#define clipcode (   x,
  y,
 
)
Value:
(((x)<-(z))?1:(((x)>(z))?2:0))\
+ (((y)<-(z))?4:(((y)>(z))?8:0))

Definition at line 132 of file intersection.c.

Function Documentation

static eusfloat_t* crossproduct ( eusfloat_t a,
eusfloat_t b,
eusfloat_t r 
)
static

Definition at line 77 of file intersection.c.

static eusfloat_t determinant3 ( eusfloat_t a,
eusfloat_t b,
eusfloat_t c 
)
static

Definition at line 71 of file intersection.c.

pointer HOMO2NORMAL ( context ctx,
int  n,
argv   
)

Definition at line 236 of file intersection.c.

pointer HOMO_VPCLIP ( context ctx,
int  n,
argv   
)

Definition at line 191 of file intersection.c.

pointer HOMOGENIZE ( context ctx,
int  n,
argv   
)

Definition at line 254 of file intersection.c.

static void init_object_module ( )
static

Definition at line 15 of file intersection.c.

pointer intersection ( )
pointer intersection ( context ctx,
int  n,
argv   
)

Definition at line 277 of file intersection.c.

pointer LINEINTERSECTION ( context ctx,
int  n,
argv   
)

Definition at line 18 of file intersection.c.

pointer LINEINTERSECTION3 ( context ctx,
int  n,
argv   
)

Definition at line 85 of file intersection.c.

pointer makefvector ( )
pointer VPCLIP ( context ctx,
int  n,
argv   
)

Definition at line 134 of file intersection.c.

static int windowcoords ( eusfloat_t  x,
eusfloat_t  y,
eusfloat_t  z,
eusfloat_t  w,
wc   
)
static

Definition at line 181 of file intersection.c.



euslisp
Author(s): Toshihiro Matsui
autogenerated on Fri Feb 21 2020 03:20:54