HC_Show_Window_By_Point

bool HC_Show_Window_By_Point(Point *point, Plane *offsets, char *list)
bool HC_Show_Window_By_Point(Point point, Plane offsets, char list)

Returns the amount of screen used by the currently open segment upon display as a defining point and rectangular limits.

The Show_Window() routines return the actual attribute values stored in the particular segment at hand. The Show_Net_Window routines return the effective attribute value for the specified segment. The distinction is that there may or may not be an “actual” stored value for an attribute for a given segment, but there is guaranteed always to be an effective value for every attribute for every segment. Also, “Show Net” will return the cumulative effects of those attributes that concatenate as you go up and down the segment tree (Modelling Matrices and Windows).

When the value being passed back is a string, be sure you’ve declared your string variable to be long enough.

The Show_Window() routines will complain if they’re called and the attribute is not actually set in the segment. Use Show_Existence() to avoid this, if necessary.

HC_Set_Window_By_Point()

Parameters

point: - A 3D coordinate position in the object’s coordinate system. Passed by reference in all languages. Returned to user.

rect: - A rectangle (4 floats) describing the area relative to the point transformed to screen space. Passed by reference in all languages. Returned to user.

options: A string variable containing a list of optional variations on a window. Passed by reference. Returned to user.

Returns

bool indicating that a point-based window is set on the current segment.