Box.initFromPoints

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

points graphene.point3_d.Point3D[]

an array of #graphene_point3d_t

Return Value

Type: graphene.box.Box

the initialized #graphene_box_t