Since 1.2Since 1.2contains_Checks whether the Graphene.Box a contains the given
Graphene.Box b.
true if the box is contained in the given box
Since 1.2contains_Checks whether box contains the given point.
the coordinates to check
true if the point is contained in the given box
Since 1.2equalSince 1.2expandSince 1.2expand_Expands the dimensions of box by the given scalar value.
If scalar is positive, the Graphene.Box will grow; if scalar is
negative, the Graphene.Box will shrink.
a scalar value
Since 1.2expand_Expands the dimensions of box to include the coordinates of the
given vector.
the coordinates of the point to include, as a Graphene.Vec3
Since 1.2freeSince 1.2get_Computes the bounding Graphene.Sphere capable of containing the given Graphene.Box.
Since 1.2get_Since 1.2get_Since 1.2get_Since 1.2get_Since 1.2get_Since 1.2get_Retrieves the size of the box on all three axes, and stores
it into the given size vector.
Since 1.2get_Since 1.2get_Since 1.2initInitializes the given Graphene.Box with two vertices.
the initialized Graphene.Box
Since 1.2init_Initializes the given Graphene.Box with the vertices of another Graphene.Box.
the initialized Graphene.Box
Since 1.2init_Initializes the given Graphene.Box with the given array of vertices.
If n_points is 0, the returned box is initialized with
graphene_box_empty().
an array of Graphene.Point3D
the initialized Graphene.Box
Since 1.2init_Initializes the given Graphene.Box with two vertices stored inside Graphene.Vec3.
the initialized Graphene.Box
Since 1.2init_Initializes the given Graphene.Box with the given array of vertices.
If n_vectors is 0, the returned box is initialized with
graphene_box_empty().
an array of Graphene.Vec3
the initialized Graphene.Box
Since 1.2intersectionIntersects the two given Graphene.Box.
If the two boxes do not intersect, res will contain a degenerate box
initialized with graphene_box_empty().
true if the two boxes intersect
Since 1.2unionUnions the two given Graphene.Box.
StaticallocStaticSince 1.2emptyA degenerate Graphene.Box that can only be expanded.
The returned value is owned by Graphene and should not be modified or freed.
StaticSince 1.2infiniteA degenerate Graphene.Box that cannot be expanded.
The returned value is owned by Graphene and should not be modified or freed.
StaticSince 1.2minus_A Graphene.Box with the minimum vertex set at (-1, -1, -1) and the maximum vertex set at (0, 0, 0).
The returned value is owned by Graphene and should not be modified or freed.
StaticSince 1.2oneA Graphene.Box with the minimum vertex set at (0, 0, 0) and the maximum vertex set at (1, 1, 1).
The returned value is owned by Graphene and should not be modified or freed.
StaticSince 1.2one_A Graphene.Box with the minimum vertex set at (-1, -1, -1) and the maximum vertex set at (1, 1, 1).
The returned value is owned by Graphene and should not be modified or freed.
StaticSince 1.2zeroA Graphene.Box with both the minimum and maximum vertices set at (0, 0, 0).
The returned value is owned by Graphene and should not be modified or freed.
A 3D box, described as the volume between a minimum and a maximum vertices.
Since
1.2