高级会员
注册日期: 06-11
帖子: 14579
精华: 1
现金: 224494 标准币
资产: 234494 标准币
|
【转帖】representing Closedopen State Of An Entity
representing closed/open state of an entity
representing closed/open state of an entity
hi all,
i've one more doubt.
i've a user defined function for creating a polyline, in which the user can give n number of vertices. i've used the oddbface entity for representing the polyline.
for hatching and selection, i need to know whether the polyline, i.e. the vertices in the oddbface entity, representing the polyline is a closed one or not.
my doubt is that, while creating the polyline using the oddbface entity, do we have to explicitly set the open/close flag..?
or
will the function for creating the oddbface enity will implicitly set this flag ?
if the above is the case, then, is it setting the flag based on the starting and ending coordinates.. i.e. if the start and end coordinates are same then its a closed one else an open polyline.
then what will be the flag for the figure in the attachment
figure attached....
please see the attachment...
thanks & regards,
rajesh paramswaran
attached images (4.7 kb, 7 views)
last edited by rajuinnet; 19th august 2004 at 12:26 amfff">.
rajuinnet
# 19th august 2004, 05:18 am
moderator join date: mar 2002
posts: 2,994
oddbface entity is face not polyline. it represents polygon with 4 vertices (if last 2 vertices coincide it's a triangle)
sergey slezkin
sslezkin
# 20th august 2004, 02:45 am
registered user join date: jul 2004
location: india
posts: 82
hi sergey,
thank u for u'r response.
that saved me a lot of time.
thanks & regards,
rajesh parameswaran
rajuinnet
none
? | ?
thread tools
display modes
linear mode
search this thread
rate this thread
excellent
good
average
bad
terrible
posting rules
you may post new threads
you may post replies
you may post attachments
you may edit your posts
is on
are on
code is off
html code is off
forum jump
user control panel private messages subscriptions who's online search forums forums home general topics news questions and remarks business issues industry commentary general software issues documentation issues future directions dwg libraries dwgdirect.net dwgdirect, c++ version dwgdirectx, activex version adtdirect/c3ddirect opendwg toolkit/viewkit dgn libraries dgndirect, c++ version (2.x+) dgndirect libraries (legacy 0.99xx)
all times are gmt -7. the time now is 01:00 amfff">.
- - -
copyright ?2000 - 2009, jelsoft enterprises ltd.
copyright 1998-2008 open design alliance inc.
oddbface entity is face not polyline. it represents polygon with 4 vertices (if last 2 vertices coincide it's a triangle)
sergey slezkin
hi sergey,
thank u for u'r response.
that saved me a lot of time.
thanks & regards,
rajesh parameswaran
|