B2d_shape_get_point_x - hpgDesigns/hpgdesigns-dev.io GitHub Wiki

Description

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

Parameters

Parameter Description
id index of the shape
pn nth point of the shape to get

Return Values

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

Example Call

// demonstrates getting the x coordinate of the second point of a shape
px = b2d_shape_get_point_x(myshape, 1);

NOTOC

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