Skip to content
Permalink
Browse files

converted to ViewerGL all the examples in src/mapper.jl

  • Loading branch information...
apaoluzzi committed Jul 4, 2019
1 parent b455533 commit 98a55b546ed3c4018f7b465aa3628448ee32ce67
Showing with 116 additions and 119 deletions.
  1. +1 −1 docs/src/largrid.md
  2. +1 −1 src/integr.jl
  3. +2 −2 src/largrid.jl
  4. +102 −105 src/mapper.jl
  5. +10 −10 test/largrid.jl
@@ -106,7 +106,7 @@ Lar.larGridSkeleton
```

```@docs
Lar.larCuboids
Lar.cuboidGrid
```

```@docs
@@ -209,7 +209,7 @@ function volume(P::LAR)::Float64
return III(P, 0, 0, 0)
end

#v,(vv,ev,fv,cv) = p.larCuboids((1,1,1),true)
#v,(vv,ev,fv,cv) = p.cuboidGrid((1,1,1),true)
#V = hcat([Array{Float64,1}(v[k,:]) for k=1:size(v,1)]...)
#FV = hcat([Array{Int64,1}(fv[k,:]+1) for k=1:size(fv,1)]...)
#EV = hcat([Array{Int64,1}(ev[k,:]+1) for k=1:size(ev,1)]...)
@@ -351,12 +351,12 @@ end


"""
larCuboids( shape, filled=false )::Union( Cells, Array{Cells,1} )
cuboidGrid( shape, filled=false )::Union( Cells, Array{Cells,1} )
Multi-dimensional generator function.
Generate either a solid *``d``-grid* of unit *``d``-cuboids* in ``d``-dimensional space, or the array of ``p``-skeletons (``0 <=p<= d``), depending on the Boolean variable `filled`. ``0``-cuboids are points, ``1``-cuboids are segments, , ``2``-cuboids are squares, ``3``-cuboids are cubes, etc. The `shape=[a,b,c]` value determines the number ``a x b x c`` of ``d``-cells. Notice that `d = length(shape)`
"""
function larCuboids( shape, filled=false )
function cuboidGrid( shape, filled=false )
vertGrid = larImageVerts(shape)
gridMap = larGridSkeleton(shape)
if ! filled

0 comments on commit 98a55b5

Please sign in to comment.
You can’t perform that action at this time.