Drawing3d documented Class Library

Tools.drawProfile Method

Draws a profile, which is given by a list of Curves along a way. In the method drawExtruded is called, for each interpolation point. The base has the z-axis in the direction, which is given by the way. The y and z-axes are normal to this. The y-axis is calculated as normal of the plane through the first three points. If they not exists y-axis is set to 0,0,1.

[Visual Basic]
Public Shared Sub drawProfile( _
   ByVal Device As MNDevice, _
   ByVal Trace As xyzArray, _
   ByVal ListOfCurveArrays As Loca, _
   ByVal CloseFirst As Boolean, _
   ByVal CloseLast As Boolean, _
   ByVal Texturekind As TextureKind, _
   ByVal TextureVisibility As TextureVisibility, _
   ByVal TextureAbsolute As Boolean _
)
[C#]
public static void drawProfile(
   MNDevice Device,
   xyzArray Trace,
   Loca ListOfCurveArrays,
   bool CloseFirst,
   bool CloseLast,
   TextureKind Texturekind,
   TextureVisibility TextureVisibility,
   bool TextureAbsolute
);

Parameters

Device
Device in which will be drawn.
Trace
The way, which will be envelopped by the profile.
ListOfCurveArrays
Specifies the profile outlook.
CloseFirst
If true a bottom surface will be drawn.
CloseLast
If true a top surface will be drawn
Texturekind
Specifies the kind of texturedrawing. ProjectFromX for example means that the texture will be drawn on the right hand, when you look in the direction of the trace.
TextureVisibility
Specifies the visibility of the texture. For example you can set that only the left part will be textured.
TextureAbsolute
In general this specification is false. If you set true the the absolute Worldbase is taken for the texturing.

See Also

Tools Class | Drawing3d Namespace