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

◆ clipcode

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

Definition at line 134 of file intersection.c.

Function Documentation

◆ crossproduct()

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

Definition at line 77 of file intersection.c.

◆ determinant3()

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

Definition at line 71 of file intersection.c.

◆ HOMO2NORMAL()

pointer HOMO2NORMAL ( context ctx,
int  n,
argv   
)

Definition at line 238 of file intersection.c.

◆ HOMO_VPCLIP()

pointer HOMO_VPCLIP ( context ctx,
int  n,
argv   
)

Definition at line 193 of file intersection.c.

◆ HOMOGENIZE()

pointer HOMOGENIZE ( context ctx,
int  n,
argv   
)

Definition at line 256 of file intersection.c.

◆ init_object_module()

static void init_object_module ( )
static

Definition at line 15 of file intersection.c.

◆ intersection() [1/2]

pointer intersection ( )

◆ intersection() [2/2]

pointer intersection ( context ctx,
int  n,
argv   
)

Definition at line 279 of file intersection.c.

◆ LINEINTERSECTION()

pointer LINEINTERSECTION ( context ctx,
int  n,
argv   
)

Definition at line 18 of file intersection.c.

◆ LINEINTERSECTION3()

pointer LINEINTERSECTION3 ( context ctx,
int  n,
argv   
)

Definition at line 85 of file intersection.c.

◆ makefvector()

pointer makefvector ( )

◆ VPCLIP()

pointer VPCLIP ( context ctx,
int  n,
argv   
)

Definition at line 136 of file intersection.c.

◆ windowcoords()

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

Definition at line 183 of file intersection.c.



euslisp
Author(s): Toshihiro Matsui
autogenerated on Thu Jun 15 2023 02:06:43