Main Page   Modules   Compound List   File List   File Members  

Cell.h File Reference

This file documents the data structures contained in struct Cell and related APIs. More...

#include "common_headers.h"

Go to the source code of this file.

Compounds

struct  Cell
 Cell. More...


Functions

void get_cell_edges (struct Edge ***cell_ed, int *num_ed, struct Cell *cl)
 get_cell_edges

void get_cell_vertices (struct Vertex ***cell_vt, int *num_vt, struct Cell *cl)
 get_cell_vertices

int get_face_normal_sign (struct Face *fc, struct Cell *cl)
 get_face_normal_sign


Detailed Description

This file documents the data structures contained in struct Cell and related APIs.


Function Documentation

void get_cell_edges struct Edge ***    cell_ed,
int *    num_ed,
struct Cell   cl
 

get_cell_edges

This method finds the edges forming a cell and returns the array as a pointer, cell_ed. cell_ed is the array of pointers to Edge s forming the Cell cl. cell_ed should be null, the function will make it point to the right array upon completion. num_ed is the number of edges in this array (returned from this function). It is an int*.

void get_cell_vertices struct Vertex ***    cell_vt,
int *    num_vt,
struct Cell   cl
 

get_cell_vertices

This method finds the vertices forming a cell and returns the array as a pointer, cell_vt. cell_vt is the array of pointers to Vertex s forming the Cell cl. cell_vt should be null, the function will make it point to the right array upon completion. num_vt is the number of vertices in this array (returned from this function). It is an int*.

int get_face_normal_sign struct Face   fc,
struct Cell   cl
 

get_face_normal_sign

This method returns a flag indicating how to obtain the unit outward normal for a face with respect to a cell, from the face normal. +1 indicates the face normal is the outward normal, 0 indicates its sign must be reversed.


Generated on Sun Nov 27 23:41:48 2005 by doxygen1.2.18