blob: a82b5a4c625de3fd09bc6e5863fb8340c71b960d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
// file: gentor.h
// update: 03/22/03
#ifndef _GENTOR_H
#define _GENTOR_H
#include <cassert>
#include <cstdlib>
#include <iostream>
#include "ksolid.h"
using namespace std;
K_SOLID read_tor(istream&, const bigrational& = 0);
K_SOLID read_BRLCAD_tor(istream&, const bigrational& = 0);
K_SOLID gen_tor(const bigrational_vector& center,
const bigrational_vector& a0,
const bigrational_vector& a1,
const bigrational_vector& a2,
const bigrational& r0,
const bigrational& r1);
#endif
|