15,892,298 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by mengfei358 (Top 9 by date)
mengfei358
26-Sep-12 9:08am
View
ok ,if I can find out the reason.i wouldnt ask the question.anyway,thank you.
mengfei358
26-Sep-12 8:52am
View
yes ,so thats what I want to know,after debug ,I cant find out the reason
mengfei358
26-Sep-12 8:30am
View
CRect rc;
rc.UnionRect(m_DMBR,entry->GetInterMBR());
CString str;
str.Format("leaf:%d,%d,entry:%d,%d,m_DMBR:%d,%d",rc.BottomRight(),entry->GetInterMBR().BottomRight(),m_DMBR.BottomRight());
AfxMessageBox(str);
using this to test.and get value as this:leaf:0,0 entry:53,550,m_DMBR:-858993460,-858993460,
mengfei358
26-Sep-12 8:07am
View
the l, t, r, and b values of each of the rectangle is known.
mengfei358
26-Sep-12 4:51am
View
sorry ,Maybe I dont understand whats your meaning ." the actual values of m_DMBR and childNode->GetDMBR() at this point?"?
mengfei358
26-Sep-12 4:24am
View
M_DMBR is an object of CRect .and initialise it is null. and childNode->GetDMBR() get the value of one node's MBR.
mengfei358
25-Sep-12 20:31pm
View
Rc is an object of CRect, It's empty,and after union Rc1 (35,35,112,112).this is not my question ,my question is why
CRect rc;
rc.UnionRect(m_DMBR,childNode->GetDMBR());
rc is empty after union .
mengfei358
25-Sep-12 10:04am
View
CRect rt =CRect(35,35,112,112);
CRect rc,rc1;
rc1.UnionRect(rc,rt);
In this code ,after using UnionRect,rc1 is not empty.
mengfei358
23-Sep-12 21:10pm
View
R-Tree is an algorithm,GIS is short form of Geographic Information System,and MBR is Minimum Bounding Rectangle
Show More