Definition of a new collection class
#include <NCollection_DefineSequence.hxx>
#include <gp_Pnt.hxx>
// The following line defines the class "base collection of points"
DEFINE_BASECOLLECTION(MyPackage_BaseCollPnt, gp_Pnt)
// The following line defines the class MyPackage_SequenceOfPnt
DEFINE_SEQUENCE (MyPackage_SequenceOfPnt, MyPackage_BaseCollPnt , gp_Pnt)