- From: Bezaire, Benoit <bbezaire@ptc.com>
- Date: Tue, 18 Nov 2008 14:39:51 -0500
- To: "WebCGM WG" <public-webcgm-wg@w3.org>
- Message-ID: <B0D4682CF6F84041AC7C42AA6E9E81330C48F2B4@HQ-MAIL3.ptcnet.ptc.com>
One more question. I think we already talked about this and came to a conclusion, but I wonder if the right decision was taken. Does getObjectExtent() include the 'viewcontext' APS attribute in its calculation? I think we talked about this a while back and said 'no'. Again, the current wording doesn't mention 'viewcontext' so I have to assume it's not included. However, say I have the following scenario in test.cgm: test.cgm contains an APS called 'myTarget' with a 'viewcontext' larger than its graphical primitives. * I can navigate directly to 'myTarget' with test.cgm#myTarget and I should _zoom_ to the 'viewcontext' rectangle * I can also use myPicture.setView( myPicture.getAppStructureById("myTarget").getObjectExtent() ); The second case would generate a different result compared to the first, is that what we want? Benoit. ________________________________ From: public-webcgm-wg-request@w3.org [mailto:public-webcgm-wg-request@w3.org] On Behalf Of Bezaire, Benoit Sent: Tuesday, November 18, 2008 1:53 PM To: WebCGM WG Subject: More on getObjectExtent() The wording says "[...] The bounding box calculation is based on the abstract locus of the primitives within the APS." What does 'abstract locus' mean? I'd like to know if getObjectExtent() returns a tight bounding box on a given APS. i.e., given a polybezier, are control points part of the bounding box calculations or not? Benoit.
Received on Tuesday, 18 November 2008 19:40:36 UTC