|
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. |
|