B2d_shape_get_edge_point_x - hpgDesigns/hpgdesigns-dev.io GitHub Wiki
Gets the x coordinate of the nth point of the nth edge of a given shape.
| Parameter | Description |
|---|---|
| id | index of the shape |
| en | nth> edge of the shape |
| pn | nth point of the edge to get the x coordinate of |
double: Returns the x coordinate of the nth point of the nth edge of the given shape.
// demonstrates getting the x coordinate of the second point of the third edge of a shape
px = b2d_shape_get_edge_point_x(myshape, 2, 1);
NOTOC