Utility.GetSliceVerticesAndNormals Method

Quad strip generation for Bar entity. Born for Bar entity, now used also for Fem Truss elements
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
)
This language is not supported or no code example is available.
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 
)
This language is not supported or no code example is available.

Parameters

sliceIndex
int

radius
double

slices
int

start
Point3D

end
Point3D

verts
Point3D[]

v0
Point3D

v1
Point3D

v2
Point3D

v3
Point3D

n0
Vector3D

n1
Vector3D

n2
Vector3D

n3
Vector3D

.NET Framework

Supported in: 4.8

In this article

Definition