internal override void changeSchema(ReleaseVersion schema)
{
base.changeSchema(schema);
if (schema == ReleaseVersion.IFC2x3)
{
IfcCartesianPointList cpl = Points;
IfcCartesianPointList2D cpl2d = cpl as IfcCartesianPointList2D;
if (cpl2d != null)
{
IfcBoundedCurve bc = IfcBoundedCurve.Generate(mDatabase, cpl2d.mCoordList.ToList(), Segments);
int index = bc.mIndex;
mDatabase[mIndex] = bc;
mDatabase[index] = null;
mDatabase[cpl.mIndex] = null;
}
else
{
throw new Exception("Not Implemented");
}
}
}