#11272: cube(center, size=0.5) does not return a cube centered at center
------------------------+---------------------------------------------------
Reporter: slabbe | Owner: jason, was
Type: defect | Status: new
Priority: major | Milestone: sage-4.7.1
Component: graphics | Keywords: cube
Work_issues: | Upstream: N/A
Reviewer: | Author:
Merged: | Dependencies:
------------------------+---------------------------------------------------
The center of the cube is affected by the argument size :
{{{
sage: c = cube(center=(10,10,10), size=0.5)
sage: c.bounding_box()
((4.75, 4.75, 4.75), (5.25, 5.25, 5.25))
}}}
The intended behavior is that the center is independant of the size:
{{{
sage: c = cube((10,10,10), size=0.5)
sage: c.bounding_box()
((9.75, 9.75, 9.75), (10.25, 10.25, 10.25))
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11272>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en.