几何尺寸与公差论坛

 找回密码
 注册
查看: 553|回复: 0

【转帖】iswcolourcontour

[复制链接]
发表于 2009-4-12 21:31:35 | 显示全部楼层 |阅读模式
iswcolourcontour
hi
i am looking at the documentation for the iswcolorcontour interface. does anyone know whether you can apply color values at arbitrary points on a surface or does it have to be a vertex on the surface that is 'pickable' within sw. i have been told that is the case but i am still not quite convinced.
the documentation says that the iswcolorcontour.value method 'sets the color and value at the specified position on the model.'
the way it is worded it sounds like you could pick an arbitrary point on a surface and apply a color at that point. however the function requires an argument called vertex coords:
overridable function value( _
byval face as object, _
byref vertexcoords as single, _
byref normalcoords as single, _
byref value as double _
) as integer
which sounds like it needs to be a vertex of the surface.
i would appreciate hearing from anyone with experience with this interface.
regards
tom mulder
regards
tom mulder.
compac nw8440
intel core 2 t7400 2.16ghz
ati mobility firegl v5200
solidworks 2008 sp4.0
windows xp professional sp2
a vertex is just a 3d position, so it is the same thing. any location of a surface that matches a position. i presume it will automatically pick the closest point on the surface if the specified one does not hit.
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|小黑屋|几何尺寸与公差论坛

GMT+8, 2024-12-23 10:42 , Processed in 0.036823 second(s), 19 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表