Quantcast
Channel: MicroStation Programming - Forum - Recent Threads
Viewing all articles
Browse latest Browse all 1677

Re: [2004 MDL] edge match

$
0
0
MSElementDescr *mainE1 = NULL;
mdlElmdscr_readToMaster (&mainE1, filePos, MASTERFILE, FALSE, NULL);
mdlElmdscr_extractEndPoints (startpoint,NULL,endpoint,NULL,mainE1,modelRef);

points1.x= startpoint[0].x;
points1.y= startpoint[0].y;
points1.z= startpoint[0].z;

points2.x= endpoint[0].x;
points2.y= endpoint[0].y;
points2.z=startpoint[0].z;


if(mdlVec_equalTolerance(&points1,&points2,0.0001)==SUCCESS)



{
/*locate point & place o*/
mdlEllipse_create (&circleElement, NULL, &points2, radius, radius, NULL, 0);
mdlElement_add (&circleElement);
mdlElement_display(&circleElement,NORMALDRAW);
}

this is the code which i am trying. when i run my code every thing looks fine it marks circle element but it locate all the point/vertex which is start point. 
i want to mark with the circle only at that point where there is unjoined linestring and the z point of the Adjacent line string different.
what should i do any suggestion?
regards
sagar..

Viewing all articles
Browse latest Browse all 1677

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>