static bool   sgC2DObject::IsFirstObjectsInsideSecondObject(const sgC2DObject& obj1, const sgC2DObject& obj2) const

 

Description:

This static function checks whether the flat object lies inside the other closed flat object. The objects must lie on the same plane.

 

 

Arguments:

obj1 - the first object,

obj2 - the second object.

 

Returned value:

true if obj1 lies inside the obj2 and fasle in the following cases:

the objects are not flat, the second object is not closed, the objects don't lie on the same plane or the objects intersect.

 

See also:

IsPlane   IsLinear IsObjectsOneOnePlane IsObjectsIntersecting