DBcomputeStringArea

Top  Previous  Next

Surface calculation.

With this routine the surface which a line train books can be calculated. Besides, it is gone out from the fact which is closed the beginning at the end.

Parametre

root (PROOT) [IN]

Act on the open data bank.

elem (PELEMENT) [IN]

Act on the line train by which the surface should be calculated.

visualise (BOOLEAN) [IN]

With visualise it is given that the process with points should be shown (TRUE), but (FALSE) is carried out the calculation without graphic issue.

area (stands in *) [IN / OUT]

In area becomes the calculated area zurückgeliefert.

open (BOOLEAN *) [IN / OUT]

With open becomes zurückgeliefert whether the given surface unanimously (FALSE) or is open (TRUE).

Result

(BOOLEAN) [OUT]

The routine delivers TRUE back if the calculation was successful, the values are also valid in area and open. If FALSE zurückgeliefert becomes, the values are not valid in area and open.

Declaration

#include "database.h"

 

BOOLEAN DLLENTRY DBcomputeStringArea (

PROOT root,

PELEMENT elem,

BOOLEAN visualise,

stand in * area,

BOOLEAN * open

);