CODBspNode::SplitBspRect

void CODBspNode::SplitBspRect(CODBspRect* pOriginalRect, CODBspRect* pBackRect, CODBspRect* pFrontRect)

Splits a rectangle into two pieces using the partition of the node. This version also copies the component associated with the rectangle to the two smaller rectangles.

Defined in: OdBspNode.cpp

Return Value

void

Parameters

pOriginalRect

A pointer to the rectangle to split.

pBackRect

A pointer to the part of the rectangle that falls behind the partition.

pFrontRect

A pointer to the part of the rectangle that falls in front of the partition.

See Also

CODBspRect, SplitRect