Autodesk Creative Platform Core Version 1.19.0
A broad and deep collection of 2D and 3D capabilities.

Box2D Overview

Implements Interfaces: IDebuggable

An axis-aligned repressentation of a 2D box.

See Also: Sketch2D.bounds

Introduced in Version: 1.1.0

Class Member Summary

Class Member Details

Point2D center()

Computes and returns the midpoint of the box.

• clone()

Clones the Box2D.

• debug()

Instructs the object to present useful debugging information via a series of calls to Debug.point, Debug.line and Debug.triangles.

Number length()

Gets the length of the box. It corresponds to the x dimension.

Point2D max

The top right point of the box

Point2D min

The bottom left point of the box

Number width()

Gets the width of the box. It corresponds to the y dimension.