Skip to content

Commit

Permalink
converted to ViewerGL all the examples in src/mapper.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
apaoluzzi committed Jul 4, 2019
1 parent b455533 commit 98a55b5
Show file tree
Hide file tree
Showing 5 changed files with 116 additions and 119 deletions.
2 changes: 1 addition & 1 deletion docs/src/largrid.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Lar.larGridSkeleton
```

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

```@docs
Expand Down
2 changes: 1 addition & 1 deletion src/integr.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)]...)
Expand Down
4 changes: 2 additions & 2 deletions src/largrid.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading

0 comments on commit 98a55b5

Please sign in to comment.