?? 2003-september.txt
字號:
__________________________________________________________Sign-up for your own personalized E-mail at Mail.comhttp://www.mail.com/?sr=signupCareerBuilder.com has over 400,000 jobs. Be smarter about your job searchhttp://corp.mail.com/careersFrom njogleka at ecn.purdue.edu Sat Sep 27 23:37:20 2003From: njogleka at ecn.purdue.edu (Nikhil Joglekar)Date: Sat Sep 27 23:33:26 2003Subject: [Acis-alliance] regarding projection of a point on a planeMessage-ID: <000001c38571$d391c410$82622e80@me98pc10>hi everybodyi am trying to get a projection of a point on a plane or rather a face.I am using api proj_pt_to_plane(). However it asks for a point on theplane . so I supply the position usingselectedFace->loop()->start()->start_pos(); However the position I amgetting back doesn't seem to be right. Below is the code that I wrote.if anybody knows any better approach that would be great.regardsnikhil position orig(org);//orig = point I want to projectposition planepos = selectedFace->loop()->start()->start_pos();// selectedFace = face on which projection is neededunit_vector norm(normal.x(), normal.y(), normal.z());// normalposition newOrg = proj_pt_to_plane( orig, planepos, norm );// newOrg = projected position. Nikhil JoglekarResearch AssistantPRECISESchool of Mechanical EngineeringPurdue University, IN 47906Ph. No. 765-746-0104 (Home) 765-494-0309 (Office) 765-409-0447 (Cell) -------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20030927/453ffb95/attachment.htmFrom njogleka at ecn.purdue.edu Sun Sep 28 18:36:57 2003From: njogleka at ecn.purdue.edu (Nikhil Joglekar)Date: Sun Sep 28 18:32:52 2003Subject: [Acis-alliance] regarding some utility functionsMessage-ID: <001801c38611$067a24e0$82622e80@me98pc10>hi allAcis documentation says following tips in it's description of FACEclass.Users may also find the topological traversal functions located inkernel/kerndata/top/query.hxx useful for generating lists of faces onother topological entities or lists of edges and vertices on faces. Theget_face_box function may be useful to retrieve or recalculate a face'sbounding box. The reset_boxes function may be useful to reset thebounding box of a face and its parents. Other functions of note include: point_in_face determines the containment of a point versus aface. raytest_face determines the intersection of a ray with aface. sg_get_face_normal Calculates a normal at a point on aface. find_cls_ptto_face finds the closest point to a specifiedpoint on a face. I was just wondering if anybody has used the functions given in the listlike point_in_face etc. I need to use these functions for a project. Ifanybody has any idea about using these, please let me know.regards Nikhil JoglekarResearch AssistantPRECISESchool of Mechanical EngineeringPurdue University, IN 47906Ph. No. 765-746-0104 (Home) 765-494-0309 (Office) 765-409-0447 (Cell) -------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20030928/e2332c73/attachment.htmFrom huangyb at hustcad.com Mon Sep 29 18:20:53 2003From: huangyb at hustcad.com (=?gb2312?B?u8bUy7Gj?=)Date: Mon Sep 29 05:15:21 2003Subject: [Acis-alliance] Re: Acis-alliance Digest, Vol 6, Issue 14Message-ID: <200309290915.h8T9EiKc027932@ober.cs.columbia.edu>acis-alliance-request
You can check the owner of the face has been transformed?
======= 2003-09-28 12:00:00 您在來信中寫道:=======
>Send Acis-alliance mailing list submissions to
> acis-alliance@cs.columbia.edu
>
>To subscribe or unsubscribe via the World Wide Web, visit
> http://lists.cs.columbia.edu/mailman/listinfo/acis-alliance
>or, via email, send a message with subject or body 'help' to
> acis-alliance-request@cs.columbia.edu
>
>You can reach the person managing the list at
> acis-alliance-owner@cs.columbia.edu
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Acis-alliance digest..."
>
>
>Today's Topics:
>
> 1. regarding projection of a point on a plane (Nikhil Joglekar)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Sat, 27 Sep 2003 22:37:20 -0500
>From: "Nikhil Joglekar" <njogleka@ecn.purdue.edu>
>Subject: [Acis-alliance] regarding projection of a point on a plane
>To: <Acis-Alliance@cs.columbia.edu>
>Message-ID: <000001c38571$d391c410$82622e80@me98pc10>
>Content-Type: text/plain; charset="us-ascii"
>
>hi everybody
>i am trying to get a projection of a point on a plane or rather a face.
>I am using api proj_pt_to_plane(). However it asks for a point on the
>plane . so I supply the position using
>selectedFace->loop()->start()->start_pos(); However the position I am
>getting back doesn't seem to be right. Below is the code that I wrote.
>if anybody knows any better approach that would be great.
>regards
>nikhil
>
>position orig(org);
>//orig = point I want to project
>position planepos = selectedFace->loop()->start()->start_pos();
>// selectedFace = face on which projection is needed
>unit_vector norm(normal.x(), normal.y(), normal.z());
>// normal
>position newOrg = proj_pt_to_plane( orig, planepos, norm );
>// newOrg = projected position.
>
>Nikhil Joglekar
>Research Assistant
>PRECISE
>School of Mechanical Engineering
>Purdue University, IN 47906
>Ph. No. 765-746-0104 (Home)
> 765-494-0309 (Office)
> 765-409-0447 (Cell)
>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20030927/453ffb95/attachment-0001.htm
>
>------------------------------
>
>_______________________________________________
>Acis-alliance mailing list
>Acis-alliance@cs.columbia.edu
>http://lists.cs.columbia.edu/mailman/listinfo/acis-alliance
>
>
>End of Acis-alliance Digest, Vol 6, Issue 14
>********************************************
= = = = = = = = = = = = = = = = = = = =
致
禮!
黃運保
huangyb@hustcad.com
2003-09-29
-------------- next part --------------A non-text attachment was scrubbed...Name: fox.gifType: image/gifSize: 9519 bytesDesc: not availableUrl : http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20030929/994d4c32/fox.gifFrom Robert.Boehne at ricardo.com Mon Sep 29 09:27:38 2003From: Robert.Boehne at ricardo.com (Boehne, Robert)Date: Mon Sep 29 09:57:42 2003Subject: [Acis-alliance] regarding some utility functionsMessage-ID: <1FDD58CAB1E3B4418D821B678F5AA8183FEE89@ctc-ex2k.dtc.ricplc.com>Nikhil, I think this is a bug in the documentation because as of ACIS r11, these functions are nowhere to be found, except in the documentation for R11. Robert-----Original Message-----From: Nikhil Joglekar [mailto:njogleka@ecn.purdue.edu]Sent: Sunday, September 28, 2003 5:37 PMTo: Acis-Alliance@cs.columbia.eduSubject: [Acis-alliance] regarding some utility functionshi allAcis documentation says following tips in it's description of FACE class.Users may also find the topological traversal functions located in kernel/kerndata/top/query.hxx useful for generating lists of faces on other topological entities or lists of edges and vertices on faces. The get_face_box function may be useful to retrieve or recalculate a face's bounding box. The reset_boxes function may be useful to reset the bounding box of a face and its parents. Other functions of note include: point_in_face determines the containment of a point versus a face. raytest_face determines the intersection of a ray with a face. sg_get_face_normal Calculates a normal at a point on a face. find_cls_ptto_face finds the closest point to a specified point on a face. I was just wondering if anybody has used the functions given in the list like point_in_face etc. I need to use these functions for a project. If anybody has any idea about using these, please let me know.regards Nikhil JoglekarResearch AssistantPRECISESchool of Mechanical EngineeringPurdue University, IN 47906Ph. No. 765-746-0104 (Home) 765-494-0309 (Office) 765-409-0447 (Cell) - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -This e-mail and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed.If you have received this e-mail in error please notify the sender immediately and delete this e-mail from your system.Please note that any views or opinions presented in this e-mail are solely those of the author and do not necessarily represent those of Ricardo (save for reports and other documentation formally approved and signed for release to the intended recipient).Only Directors or Duly Authorised Officers are authorised to enter into legally binding obligations on behalf of Ricardo unless the obligation is contained within a Ricardo Purchase Order. Ricardo may monitor outgoing and incoming e-mails and other telecommunications on its e-mail and telecommunications systems. By replying to this e-mail you give consent to such monitoring.The recipient should check this e-mail and any attachments for the presence of viruses. Ricardo accepts no liability for any damage caused by any virus transmitted by this e-mail. "Ricardo" means Ricardo plc and its subsidiary companies.Ricardo plc is a public limited company registered in England with registered number 00222915.The registered office of Ricardo plc is Bridge Works, Shoreham-by Sea, West Sussex, BN43 5FG.- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20030929/02362f86/attachment-0001.htmFrom dar at evanston.fluent.com Mon Sep 29 15:47:25 2003From: dar at evanston.fluent.com (David Ratner)Date: Mon Sep 29 18:25:31 2003Subject: [Acis-alliance] regarding some utility functionsReferences: <1FDD58CAB1E3B4418D821B678F5AA8183FEE89@ctc-ex2k.dtc.ricplc.com>Message-ID: <3F788C4D.3E22A880@evanston.fluent.com>Hi,We use api_find_cls_ptto_face() to project a point onto a FACE.We use surface::eval_outdir() to evaluate surface normals, although youhave to reverse this normal for the owning FACE if FACE::sense() ==REVERSED.To determine if a point lies on an entity, we use api_ptent_rel().Finally, we use api_ray_test_ents() to determine entity-rayintersections.David-------------- next part --------------A non-text attachment was scrubbed...Name: dar.vcfType: text/x-vcardSize: 226 bytesDesc: Card for David RatnerUrl : http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20030929/cf272cf2/dar.vcfFrom bvdr at lvd.be Tue Sep 30 13:00:32 2003From: bvdr at lvd.be (VANDROMME Bart)Date: Tue Sep 30 06:01:03 2003Subject: [Acis-alliance] Limited concurrent views ?Message-ID: <5D17B16C753DC743BCE75F4E39457648F3B8EA@gulw2ksvep03.lvd.be>Hello, I have a problem with the number of views that I can use concurrently. I have somewhere the following code, where I create 16rendering-contexts, with each 1 view showing the context in a differentwindow. mopGlContext1 = new gl_context(); BODY* lopBody1 = NULL; api_make_cuboid(10,20,30,lopBody1); mopGlContext1->add(lopBody1, false); mopView1 = new view_3d_MS(m_hWnd1,NULL); mopGlContext1->add_view(mopView1); mopGlContext2 = new gl_context(); BODY* lopBody2 = NULL; api_make_cuboid(10,20,30,lopBody2); mopGlContext2->add(lopBody2, false); mopView2 = new view_3d_MS(m_hWnd2,NULL); mopGlContext2->add_view(mopView2); ... mopGlContext16 = new gl_context(); BODY* lopBody16 = NULL; api_make_cuboid(10,20,30,lopBody16); mopGlContext16->add(lopBody16, false); mopView16 = new view_3d_MS(m_hWnd16,NULL); mopGlContext16->add_view(mopView16); During this procedure, the application hangs after the 8th view, on theline 'mopGlContext9->add(lopBody9,false). After some investigation, it seems that the number of rendering-contexts+ the number of associated views is limited to 16 ????So, if I have 1 rendering context, I can have 15 views showing the samecontext.If I have 2 rendering context, I can only have 14 views showing thesecontexts.If I have 3 rendering context, I can only have 13 views showing thesecontexts.... I also tried to use the Acis Viewer 7.0 and show some partsconcurrently.Also here, when showing the 16th part, the viewer hangs. I think it has something to do with device-context handles that are notreleased.Does anyone has a solution or suggestion to solve this problem ? I'm using Acis 6.2. Thanx,Bart Vandromme -------------- next part --------------An HTML attachment was scrubbed...URL: http://lists.cs.columbia.edu/pipermail/acis-alliance/attachments/20030930/524e53c6/attachment.htm
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -