B2d_shape_get_edge_point_x - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

Gets the x coordinate of the nth point of the nth edge of a given shape.

Parameters

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

Return Values

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

Example Call

// 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

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