ticket-1094-headless
Last change
on this file since e66f9c1 was
959eb01,
checked in by ajj, 8 years ago
|
normalising line endings
|
-
Property mode set to
100644
|
File size:
503 bytes
|
Line | |
---|
1 | if __name__ == "__main__": |
---|
2 | from sasModeling.pointsmodelpy import pointsmodelpy |
---|
3 | from sasModeling.iqPy import iqPy |
---|
4 | from sasModeling.geoshapespy import geoshapespy |
---|
5 | |
---|
6 | a = geoshapespy.new_sphere(10) |
---|
7 | lm = pointsmodelpy.new_loresmodel(0.0005) |
---|
8 | pointsmodelpy.lores_add(lm,a,1.0) |
---|
9 | b = geoshapespy.new_sphere(20) |
---|
10 | geoshapespy.set_center(b,20,20,20) |
---|
11 | pointsmodelpy.lores_add(lm,b,-1.0) |
---|
12 | |
---|
13 | vp = pointsmodelpy.new_point3dvec() |
---|
14 | pointsmodelpy.get_lorespoints(lm,vp) |
---|
15 | |
---|
16 | pointsmodelpy.get_lores_pr(lm,vp) |
---|
Note: See
TracBrowser
for help on using the repository browser.