In SDK, is there a way to get informations about curves like in Ruby ArcCurve object, for example start or end angle ?
SULoopRef outer_loop = SU_INVALID;
SU_CALL(SUFaceGetOuterLoop(face, &outer_loop));
size_t num_vertices;
SU_CALL(SULoopGetNumVertices(outer_loop, &num_vertices));
if (num_vertices > 0) {
std::vector<SUEdgeRef> edges(num_vertices);
SU_CALL(SULoopGetEdges(outer_loop, num_vertices, &edges[0], &num_vertices));
for (size_t i = 0; i < num_vertices; i++) {
SUEdgeRef edge = edges[i];
SUCurveRef curve = SU_INVALID;
if (SUEdgeGetCurve(edge, &curve) != SU_ERROR_NULL_POINTER_OUTPUT)
{
SUCurveType curvetype;
SUCurveGetType(curve, &curvetype);
if (curvetype == SUCurveType::SUCurveType_Arc)
{
???
}
}
}
}