mirror of
git://projects.qi-hardware.com/ben-scans.git
synced 2024-11-22 08:49:42 +02:00
30 lines
635 B
C
30 lines
635 B
C
/*
|
|
* face.h - Data structure and handling of one face of a part
|
|
*
|
|
* Written 2010 by Werner Almesberger
|
|
* Copyright 2010 by Werner Almesberger
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*/
|
|
|
|
#ifndef FACE_H
|
|
#define FACE_H
|
|
|
|
#include "array.h"
|
|
|
|
|
|
struct face {
|
|
struct array *a;
|
|
int sx, sy; /* size */
|
|
int z_ref;
|
|
double fx, fy; /* inclination factor */
|
|
};
|
|
|
|
|
|
struct face *read_face(const char *name);
|
|
|
|
#endif /* FACE_H */
|