123456789101112131415161718192021222324252627282930313233343536 |
-
-
-
-
-
-
- #include <FDEM1D>
- using namespace Lemma;
-
- int main() {
-
- auto wire = PolygonalWireAntenna::NewSP();
- wire->SetNumberOfPoints(5);
- wire->SetPoint(0, 0, 0, 0);
- wire->SetPoint(1, 1, 0, 0);
- wire->SetPoint(2, 1, 1, 0);
- wire->SetPoint(3, 0, 1, 0);
- wire->SetPoint(4, 0, 0, 0);
- std::cout << *wire << std::endl;
-
- auto wire2 = wire->Clone();
- std::cout << "copy\n" << *wire2 << std::endl;
- }
|