ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/REPOS_ERICCA/polyexemple/src/main1.cpp
Revision: 416
Committed: Wed Aug 21 15:24:24 2013 UTC (11 years, 8 months ago) by cuillier
File size: 363 byte(s)
Log Message:
Import initial

File Contents

# Content
1 #include "line.h"
2 #include <iostream>
3
4 int main(void)
5 {
6 double point[3]={5.,5.,5.};
7 double dir[3]={0.,1.,0};
8 LINE l1(point,dir);
9 double xyz[3];
10 l1.evaluer(1.,xyz);
11 std::cout << xyz[0] << " " << xyz[1] << " " << xyz[2] << " " << std::endl;
12 LINE l2=l1;
13 l2.evaluer(2.,xyz);
14 std::cout << xyz[0] << " " << xyz[1] << " " << xyz[2] << " " << std::endl;
15 }

Properties

Name Value
svn:executable