Changeset 26659 for issm/trunk-jpl/src/jl/solve/vertices.jl
- Timestamp:
- 11/23/21 12:28:22 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/jl/solve/vertices.jl
r26629 r26659 4 4 x::Float64 5 5 y::Float64 6 z::Float64 6 7 end# }}} 8 9 #vertices functions 10 function GetVerticesCoordinates(vertices::Vector{Vertex}) #{{{ 11 12 #Intermediaries 13 nbv = length(vertices) 14 15 #Allocate 16 xyz_list = Matrix{Float64}(undef,nbv,3) 17 18 #Assign value to xyz_list 19 for i in 1:nbv 20 xyz_list[i,1]=vertices[i].x 21 xyz_list[i,2]=vertices[i].y 22 xyz_list[i,3]=vertices[i].z 23 end 24 25 return xyz_list 26 end #}}}
Note:
See TracChangeset
for help on using the changeset viewer.