B2d_shape_get_edge_point_y - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Gets the y coordinate of the nth point of the nth edge of a given shape. Note: This function is only applicate for chain or loop shapes.

Parameters

Parameter Description
id index of the shape
en nth> edge of the shape
pn nth point of the edge to get the y coordinate of

Return Values

double: Returns the y coordinate of the nth point of the nth edge of the given shape.

Example Call

// demonstrates getting the y coordinate of the second point of the third edge of a shape
py = b2d_shape_get_edge_point_y(myshape, 2, 1);

NOTOC

⚠️ **GitHub.com Fallback** ⚠️