Box.initFromPoints

graphene.box.Box initFromPoints(graphene.point3_d.Point3D[] points) nothrow

Initializes the given #graphene_box_t with the given array of vertices.

If n_points is 0, the returned box is initialized with graphene.box.Box.empty.

Parameters

pointsan array of #graphene_point3d_t

Returns

the initialized #graphene_box_t