The functions in this section are are called, directly or indirectly, by
Picture::output()
.
See Picture Reference; Outputting.
void
)Writes the MetaPost code for drawing, filling, filldrawing, undrawing, unfilling, or unfilldrawing the
Solid
toout_stream
.
void
)Used in
Picture::output()
. Setsdo_output
tofalse
, if theSolid
cannot be projected using a particular set of arguments toPicture::output()
.
void
)Used in
Picture::output()
. Resetsdo_output
totrue
, so that theSolid
will be tested for projectability again, if thePicture
it's on is output again.
Tests whether all of the
Shapes
belonging to theSolid
are projectable, using the arguments passed tooutput()
. If it is, this function returns a vector of pointers toShape
containing a single pointer to theSolid
. If not, an empty vector is returned.
void
)Sets
projective_extremes
to contain the maximum and minimum values for the x, y, and z-coordinates of thePoints
on theShape
. Used for determining projectability of aSolid
using a particular set of arguments.
const
inline virtual function: const valarray<real> get_extremes (void
)Returns
projective_extremes
.
const
virtual functions: real get_minimum_z (void
)void
)void
)Returns the minimum, maximum, or mean z-value, respectively, of the
Points
belonging to theSolid
. Used for surface hiding. See Surface Hiding.