def AreasListOfPropertiesForPrimitive(cls, primitiveType):
# Cone
if primitiveType == 3:
- return ["Radius","AxisPoint","Axis"]
+ return ["Radius","Angle","Axis","AxisPoint","Apex"]
# Plan
elif primitiveType == 0:
return ["Normal","AffinePoint"]
std::array<double, 3> tmp(self->getCenter(areaId));
return {tmp.cbegin(),tmp.cend()};
}
+
+ std::vector<double> getApex(mcIdType areaId) const
+ {
+ std::array<double, 3> tmp(self->getApex(areaId));
+ return {tmp.cbegin(),tmp.cend()};
+ }
}
private:
Areas();