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

Go to the source code of this file.

Defines

#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 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 windowcoords (eusfloat_t x, eusfloat_t y, eusfloat_t z, eusfloat_t w, wc)

Define 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 init_object_module ( ) [static]

Definition at line 15 of file intersection.c.

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 VPCLIP ( context ctx,
int  n,
argv   
)

Definition at line 134 of file intersection.c.

static 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 Thu Mar 9 2017 04:57:51