Geometrical operator \intersection returns the intersection vertex of two edges given in parameter. This operator has the two equivalent syntaxes taking:
First syntax is a compact form which can be ambiguous or at least not
very clear for beginners. The second one using edge notation can be
easier to understand. Nevertheless, the intersection is made with
lines instead of edges, this way the resulting point may not belong
to the given edges.
This operator should only appear within a step block.
o = \intersection(a, c, b, d); % same as below but shorter ... o = \intersection([a, c], [b, d]);
RETURN_VERTEX = \intersection(VERTEX_1, VERTEX_2, VERTEX_3, VERTEX_4); RETURN_VERTEX = \intersection(EDGE_1, EDGE_2);
VERTEX_1 Description : Indicates the first vertex of the first segment. Type : Symbol, vertex identifier. Allowed values : Any vertex identifier previously defined. VERTEX_2 Description : Indicates the second vertex of the first segment. Type : Symbol, vertex identifier. Allowed values : Any vertex identifier previously defined. VERTEX_3 Description : Indicates the first vertex of the second segment. Type : Symbol, vertex identifier. Allowed values : Any vertex identifier previously defined. VERTEX_4 Description : Indicates the second vertex of the second segment. Type : Symbol, vertex identifier. Allowed values : Any vertex identifier previously defined. EDGE_1 Description : Indicates the first segment. Type : Edge, vertex identifier pair. Allowed values : Any vertex identifier pair previously defined. EDGE_2 Description : Indicates the second segment. Type : Edge, vertex identifier pair. Allowed values : Any vertex identifier pair previously defined.
RETURN_VERTEX Description : New vertex intersection of both segments Type : Symbol, vertex identifier Allowed values : Any vertex identifier not already defined