File: InfiniteCylinder.cpp

package info (click to toggle)
freefem3d 1.0pre8-2
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 13,920 kB
  • ctags: 7,145
  • sloc: cpp: 45,748; sh: 8,698; yacc: 2,847; makefile: 600; ansic: 504; perl: 110
file content (23 lines) | stat: -rw-r--r-- 485 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include <InfiniteCylinder.hpp>
#include <Cylinder.hpp>

InfiniteCylinder::
InfiniteCylinder(const Cylinder& c)
  : Shape(InfiniteCylinder::infiniteCylinder),
    __center(c.__center),
    __unaryVector(c.__unaryVector),
    __radius2(c.__radius2)
{
  this->setTransformationsList(c.transformationsList());
}

InfiniteCylinder::
InfiniteCylinder(const InfiniteCylinder& c)
  : Shape(c),
    __center(c.__center),
    __unaryVector(c.__unaryVector),
    __radius2(c.__radius2)
{
  ;
}