tsc_AreaResults

This small class holds the result of a area calculation function call (tsc_Cogo::CalculateDbArea)

It contains the area, perimeter and the list of points that were used to generate it.

Members

double Area() const;
The result of the area operation.

double Perimeter() const;
The perimeter of the resulting area.

tsc_CogoSettings CogoSettings () const;
The coordinate geometry defining the calculation type, determined from the source points.

tsc_EntityList Entities() const;
The entity list that was used to produce the area, these are not stored in the database area record.  Area calculations can use points, lines or arcs.

x_Code Error();
The error code from the calculation operation, X_NULL is success.

tsc_Job Job();
The job associated with the points used in the calculation.

x_Code AppendToDatabase(const char* name) const;
Stores the Area in the entity's job.