NP


Number of points

attach      audio      audio play      audio win
frac
generate      genetic
law
matrix      max      memory      meta_box      motif
neuron
obj
particle      poi
stock
texture
traj
Voir aussi

NP attach obj

Returns the number of items of the bloc attach of the object id type obj.

NP audio(id)

Returns the number of samples of object audio id type object.

NP audio play

Returns the number of audio buffers of audio play

NP audio win image(id)

Returns the number of windows of image id with an audio win property.

NP frac obj(id)

        Returns the number of points of the object id fractal.
Must be a frac property.

NP generate obj(id)

        Returns ethe number of points of the extension of object id.
Must be a ext or frac property.

NP genetic

NP genetic(id)

        Returns ethe number of individuals of genetic id.

NP law

NP law network(id)

        Returns the number of laws of the neural network id.
Note:
Returns NIL if network id> does not exist.
Returns if network id> is empty.

NP matrix

NP matrix network(id)

        Returns the number of lines of matrix of network id.

NP max

NP max scale("audio")audio

        Returns (np,dimp) with np = number of items and dimp = 2 = size of the items for a scale type audio.

NP memory

NP memory(id)

        Returns the number of vectors of memory id and NIL if this memory does not exist.

NP memory vol(id)

        Returns the number of memories of volume id.

NP motif

NP meta box vol(id)

        Returns the number of meta boxes of volume id.

NP motif

NP motif network(id)

        Returns the number of motifs of neural network id, and NIL if this network does not exist, 0 if ethere id no motif.
Note:
Returns NIL if network id> does not exist.
Returns if network id> is empty.

NP neuron

NP neuron network(id)

        Returne the number of neurons of neural network id.
Note:
Returns NIL if network id> does not exist.
Returns if network id> is empty.

NP obj

NP obj

        Returns the number of points of objects type obj.
Options:
abs: only referenced points in facets (not the anchor points).

NP obj(id)

        Returns the number of points of object id (type obj) and NIL if this object does not exist.
max NP vol(id) returns the number of referenced points in facets (not the anchored points).

NP particle

vol
genetic

NP particle vol(id)

        If volume id is a particles system), returns the number of active particles and NIL si this volume does not exist.

NP particle genetic(id)

        Returns the number of particules of genetic id and NIL if this genetic does not exist.

NP poi

NP poi vol(id)

       Returns the number of referenced in facets points of volume id (not the anchor points).

NP stock

NP stock audio(id)

Returns the number of vectors of property stock of object type audio(id).

NP texture

NP texture

Returns folders' number, files' number, read number of texture interpol when images are built in memory (and nor read from disk).

NP texture=nf,nf,num

Changes those values.

NP traj

NP traj T obj(id)

        Returns the number of the current image of trajectory type T of object obj id.

NP traj T obj(id)=cpt

        Changes this number, allows to restart rhe animation.
Examples:
NP traj tran vol(1); returns the number of the current image of trajectory type tran of volume 1.
NP traj force rota vol(1); returns the number of the current image of trajectory type force rota of volume 1.
NP traj col fac(3)vol(1); returns the number of the current image courante of trajectory type col of facet 3 of volume 1.

NP traj T obj(id)=num

        Changes this number.
Note: This number must be in interval [1,n], where n=dim traj T obj(id).

See also:

max NP