A Beziér curve segment is specified by a start point (x0,y0), an end point (x3,y3) and two control points (handles) (x1,y1) and (x2,y2). Several curve segments can be combined in a line, where the end point of each segment is the start point of the next segment. Write an ASN.1 specification to transfer such a line of Beziér curve segments


Line ::= SEQUENCE OF Segment

Segment ::= SEQUENCE {
                         start Point,
                        handle1 Point,
                        handle2 Point,
                        end Point OPTIONAL }

Point ::= SEQUENCE {
                        x REAL,
                        y REAL }

List of exam questions