AGI STK Graphics 11 Send comments on this topic.
Set Method (IAgStkGraphicsSolidPrimitive)
See Also 
Positions
An array containing the positions of the solid in the order x, y, z.
Normals
An array containing the normals of the mesh in the order x, y, z.
Indices
An array of integers containing the indices into positions and normals. A set of x, y, and z elements is considered a single index.
OutlineIndices
An array of integers containing the indices into positions that define an outline of the solid. A set of x, y, and z elements is considered a single index.
WindingOrder
The orientation of front-facing triangles.
BoundingSphere
The bounding sphere that encompasses the solid.
Closed
Indicates if the solid is closed. For example, a box with six faces is closed. If one face is removed, the box is open.

Description

Defines the solid using the specified parameters. The solid is rendered in the primitive's Reference Frame.

Syntax

[Visual Basic .NET]
Public Sub Set( _
   ByRef Positions() As Variant, _
   ByRef Normals() As Variant, _
   ByRef Indices() As Variant, _
   ByRef OutlineIndices() As Variant, _
   ByVal WindingOrder As AgEStkGraphicsWindingOrder, _
   ByVal BoundingSphere As IAgStkGraphicsBoundingSphere, _
   ByVal Closed As Boolean _
) 

Parameters

Positions
An array containing the positions of the solid in the order x, y, z.
Normals
An array containing the normals of the mesh in the order x, y, z.
Indices
An array of integers containing the indices into positions and normals. A set of x, y, and z elements is considered a single index.
OutlineIndices
An array of integers containing the indices into positions that define an outline of the solid. A set of x, y, and z elements is considered a single index.
WindingOrder
Member Value Description
eStkGraphicsWindingOrderCounterClockwise 0 Positions or triangles are defined in counter-clockwise order.
eStkGraphicsWindingOrderClockwise 1 Positions or triangles are defined in clockwise order.
eStkGraphicsWindingOrderCompute 2 The winding order is unknown and should be computed. For best performance, only use this value if you do not know the actual winding order.
The orientation of front-facing triangles.
BoundingSphere
The bounding sphere that encompasses the solid.
Closed
Indicates if the solid is closed. For example, a box with six faces is closed. If one face is removed, the box is open.

Remarks

See Also

© 2016 Analytical Graphics, Inc. All Rights Reserved.

STK 11.1 Programming Interface