IndependentFragmentGrids_IntegrationTest
Last change
on this file since e1e108 was 0eb8f4, checked in by Frederik Heber <heber@…>, 12 years ago |
Cylinder implementation.
Taken from somehow broken branch, so rebase was not possible,
unfortunately.
The cylinder shape is centered on (0 0 0) and its height (z-Axis)
ranges from -1 to 1. Different scalings can be applied with the special
constructor.
|
-
Property mode
set to
100644
|
File size:
607 bytes
|
Line | |
---|
1 | /*
|
---|
2 | * BaseShapes.hpp
|
---|
3 | *
|
---|
4 | * Created on: Jun 18, 2010
|
---|
5 | * Author: crueger
|
---|
6 | */
|
---|
7 |
|
---|
8 | #ifndef BASESHAPES_HPP_
|
---|
9 | #define BASESHAPES_HPP_
|
---|
10 |
|
---|
11 | // include config.h
|
---|
12 | #ifdef HAVE_CONFIG_H
|
---|
13 | #include <config.h>
|
---|
14 | #endif
|
---|
15 |
|
---|
16 |
|
---|
17 | #include "Shapes/Shape.hpp"
|
---|
18 |
|
---|
19 | Shape Cylinder();
|
---|
20 | Shape Cylinder(const Vector ¢er, const double xrot, const double yrot,
|
---|
21 | const double height, const double radius);
|
---|
22 | Shape Sphere();
|
---|
23 | Shape Sphere(const Vector ¢er,double radius);
|
---|
24 | Shape Ellipsoid(const Vector ¢er, const Vector &radius);
|
---|
25 | Shape Cuboid();
|
---|
26 | Shape Cuboid(const Vector &corner1, const Vector &corner2);
|
---|
27 |
|
---|
28 | #endif /* BASESHAPES_HPP_ */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.