opencascade-hs-0.6.3.0: cpp/hs_NCollection_Array1.cpp
#include <NCollection_Array1.hxx>
#include <gp_Pnt.hxx>
#include "hs_Exception.h"
#include "hs_NCollection_Array1.h"
ARRAY_1(gp_Pnt) * hs_new_NCollection_Array1_gp_Pnt(
int lower, int upper,
HSExceptionType* exType, void ** exPtr
){
return hs_handleEx(exType, exPtr, [lower, upper]{
return new NCollection_Array1<gp_Pnt>(lower, upper);
});
}
void hs_NCollection_Array1_gp_Pnt_setValue(
ARRAY_1(gp_Pnt) * arr, int index, gp_Pnt * value,
HSExceptionType* exType, void ** exPtr
){
hs_handleExVoid(exType, exPtr, [arr, index, value]{
arr->SetValue(index, *value);
});
}
void hs_delete_NCollection_Array1_gp_Pnt(ARRAY_1(gp_Pnt) * arr){
delete arr;
}