Please note that the recommended version of Scilab is 2023.1.0. This page might be outdated.

See the recommended documentation of this function

# secto3d

3D surfaces conversion

### Syntax

[m[,x]]=secto3d(seclist, npas) [m]=secto3d(seclist, x)

### Arguments

- seclist
a list whose elements are (2,.) matrices

- npas
an integer

- m
a matrix

- x
a vector

### Description

Considering a surface given through a list `seclist`

of sections in the
`(x,z)`

plane `[m [,x]]=secto3d(seclist [,npas])`

returns a matrix `m`

which contains a regular discretization of the surface.

The i-th row of the matrix m corresponds to the i-th section

The j-th column of m corresponds to the x(j)

Each section `seclist(i)`

is described by a (2,.) matrix which gives respectively the x
and z coordinates of points.

`[m]=secto3d(seclist ,x)`

in that case the x-vector gives the discretization
of the x-axis for all the sections

### See also

- plot3d — 3D plot of a surface

Report an issue | ||

<< scatter3d | 3d_plot | surf >> |