{"schema": "cks-public-reference/v1", "entry": {"id": "api-ef510ff972e19d", "name": "point::SetLen", "member": "SetLen", "family": "point", "returns": "void", "args": ["int"], "kind": "method", "signature": "void point::SetLen(int)", "language": "en", "summary": "Rescales the point's integer coordinates toward the requested vector length, modifying the point in place. Integer arithmetic and truncation can make the resulting length differ from the requested value.", "notes": "The argument is the requested length. On the documented calculation path, each coordinate is multiplied by that value and divided with truncation toward zero. Products use 32-bit arithmetic. Behavior with a zero computed divisor, invalid references, or values that cause overflow is not fully documented.", "examples": [], "technical": false, "description_status": "documented"}}