Determine if a small convex polygon is inside a larger convex polygon

C# | Visual Basic | Visual C++ |
public static bool IsConvexPolygonInConvexPolygon<T>( IConvexPolygon<T> smallPolygon, IConvexPolygon<T> largePolygon ) where T : new(), IComparable
Public Shared Function IsConvexPolygonInConvexPolygon(Of T As {New, IComparable}) ( _ smallPolygon As IConvexPolygon(Of T), _ largePolygon As IConvexPolygon(Of T) _ ) As Boolean
public: generic<typename T> where T : gcnew(), IComparable static bool IsConvexPolygonInConvexPolygon( IConvexPolygon<T>^ smallPolygon, IConvexPolygon<T>^ largePolygon )

- T
- The type of the depth

- smallPolygon (IConvexPolygon<(Of <(T>)>))
- the smaller polygon
- largePolygon (IConvexPolygon<(Of <(T>)>))
- the larger polygon

true if the small convex polygon is inside the larger convex polygon;
false otherwise.