Eyeshot 10 WinForms API Reference
GetSliceVerticesAndNormals Method

WinForms Assembly > devDept.Geometry Namespace > Utility Class : GetSliceVerticesAndNormals Method
Quad strip generation for Bar entity. Born for Bar entity, now used also for Fem Truss elements
Syntax
'Declaration
 
Public Shared Sub GetSliceVerticesAndNormals( _
   ByVal sliceIndex As Integer, _
   ByVal radius As Double, _
   ByVal slices As Integer, _
   ByVal start As Point3D, _
   ByVal end As Point3D, _
   ByVal verts() As Point3D, _
   ByRef v0 As Point3D, _
   ByRef v1 As Point3D, _
   ByRef v2 As Point3D, _
   ByRef v3 As Point3D, _
   ByRef n0 As Vector3D, _
   ByRef n1 As Vector3D, _
   ByRef n2 As Vector3D, _
   ByRef n3 As Vector3D _
) 
public static void GetSliceVerticesAndNormals( 
   int sliceIndex,
   double radius,
   int slices,
   Point3D start,
   Point3D end,
   Point3D[] verts,
   out Point3D v0,
   out Point3D v1,
   out Point3D v2,
   out Point3D v3,
   out Vector3D n0,
   out Vector3D n1,
   out Vector3D n2,
   out Vector3D n3
)

Parameters

sliceIndex
radius
slices
start
end
verts
v0
v1
v2
v3
n0
n1
n2
n3
See Also

Reference

Utility Class
Utility Members