Click here to Skip to main content
15,921,990 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Loading a .jpg picture file Pin
ShilpiP19-May-08 20:16
ShilpiP19-May-08 20:16 
GeneralRe: Loading a .jpg picture file Pin
Priya_Sundar19-May-08 23:27
Priya_Sundar19-May-08 23:27 
QuestionUsing MySQL++ from VC++ 6.0/2005 Environment [modified] Pin
bs197719-May-08 14:58
bs197719-May-08 14:58 
AnswerRe: Using MySQL++ from VC++ 6.0/2005 Environment Pin
ShilpiP19-May-08 19:11
ShilpiP19-May-08 19:11 
GeneralRe: Using MySQL++ from VC++ 6.0/2005 Environment Pin
bs197719-May-08 21:19
bs197719-May-08 21:19 
QuestionReturn new object in COM DLL. Pin
RYU^^19-May-08 13:56
RYU^^19-May-08 13:56 
Questionplz urgent!!! Pin
Apu Nahasapeemapetilon19-May-08 13:20
Apu Nahasapeemapetilon19-May-08 13:20 
AnswerRe: plz urgent!!! Pin
Chris Maunder19-May-08 13:41
cofounderChris Maunder19-May-08 13:41 
AnswerRe: plz urgent!!! Pin
Nelek19-May-08 14:32
protectorNelek19-May-08 14:32 
AnswerRe: plz urgent!!! Pin
Stephen Hewitt19-May-08 18:50
Stephen Hewitt19-May-08 18:50 
AnswerRe: plz urgent!!! Pin
toxcct19-May-08 21:45
toxcct19-May-08 21:45 
QuestionRe: plz urgent!!! Pin
CPallini19-May-08 22:11
mveCPallini19-May-08 22:11 
AnswerRe: plz urgent!!! Pin
fat_boy29-May-08 3:41
fat_boy29-May-08 3:41 
AnswerRe: plz urgent!!! Pin
ThatsAlok6-Jul-09 21:14
ThatsAlok6-Jul-09 21:14 
Questioncode for calculating the point in a surface and minimum distance from the surface to a line segment, which is not in the surface. Pin
mrby12319-May-08 11:24
mrby12319-May-08 11:24 
AnswerRe: code for calculating the point in a surface and minimum distance from the surface to a line segment, which is not in the surface. Pin
Member 419459319-May-08 15:12
Member 419459319-May-08 15:12 
GeneralRe: code for calculating the point in a surface and minimum distance from the surface to a line segment, which is not in the surface. Pin
mrby12319-May-08 19:44
mrby12319-May-08 19:44 
QuestionRe: code for calculating the point in a surface and minimum distance from the surface to a line segment, which is not in the surface. Pin
CPallini19-May-08 22:14
mveCPallini19-May-08 22:14 
AnswerRe: code for calculating the point in a surface and minimum distance from the surface to a line segment, which is not in the surface. Pin
mrby12320-May-08 5:44
mrby12320-May-08 5:44 
GeneralRe: code for calculating the point in a surface and minimum distance from the surface to a line segment, which is not in the surface. Pin
Member 419459320-May-08 3:56
Member 419459320-May-08 3:56 
GeneralRe: code for calculating the point in a surface and minimum distance from the surface to a line segment, which is not in the surface. Pin
mrby12320-May-08 5:41
mrby12320-May-08 5:41 
GeneralRe: code for calculating the point in a surface and minimum distance from the surface to a line segment, which is not in the surface. Pin
Member 419459320-May-08 7:01
Member 419459320-May-08 7:01 
Ok. Your last statement brings up another question (since you can connect the points "in a way you like"). Does the solution need to determine the minimum distance to one of the discrete points, or to any point on the surface which these three points lie upon? A three dimensional convex hull could be constructed to enclose the points, but would not be correct if the surface were like a golf ball with dimples and one of the points was at the bottom of the dimple (a convex hull would skip over that point), some surface generating ordering of the points must be described, otherwise you do not have a "surface" but many intersecting "surfaces". Another view of the points could be that each two adjacent points are paired as an edge, and you have to scan the array looking for some point that matches either end to connect that edge with this edge to finally form a "surface".

Note further: If the discrete points are to be taken as a group of three to form a triangle, then if the line segment is parallel to that triangle and directly over it, then an infinite number of points on the surface would have the same distance to the line segment. If The line segment was not parallel to the surface, but to one of the edges, then the same condition exsists.

It all really all depend on the definition of the term "surface".
GeneralRe: code for calculating the point in a surface and minimum distance from the surface to a line segment, which is not in the surface. Pin
mrby12320-May-08 8:23
mrby12320-May-08 8:23 
GeneralRe: code for calculating the point in a surface and minimum distance from the surface to a line segment, which is not in the surface. Pin
Member 419459320-May-08 11:54
Member 419459320-May-08 11:54 
GeneralRe: code for calculating the point in a surface and minimum distance from the surface to a line segment, which is not in the surface. Pin
Member 419459326-May-08 5:15
Member 419459326-May-08 5:15 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.