Computes the triangulation for a cylinder centered at the origin.
| [Visual Basic .NET] |
|---|
Public Function Compute( _ ByVal Length As Double, _ ByVal BottomRadius As Double, _ ByVal TopRadius As Double, _ ByVal Slices As Integer, _ ByVal CylinderFill As AgEStkGraphicsCylinderFill _ ) As IAgStkGraphicsSolidTriangulatorResult |
| [C#] |
|---|
public IAgStkGraphicsSolidTriangulatorResult Compute( |
| [Managed C++] |
|---|
public: IAgStkGraphicsSolidTriangulatorResult^ Compute( |
| [Java] |
|---|
public IAgStkGraphicsSolidTriangulatorResult compute( |
| [Unmanaged C++] |
|---|
public: HRESULT Compute( |
- Length
- The length, in meters, of the cylinder along the z axis.
- BottomRadius
- The radius, in meters, of the cylinder's bottom cap.
- TopRadius
- The radius, in meters, of the cylinder's top cap.
- Slices
- The number of slices around the z axis.
- CylinderFill
Flags enumeration indicating what cylinder faces should be filled. Values can be logicallyMember Value Description eStkGraphicsCylinderFillWall 1 Fill the cylinder's wall. eStkGraphicsCylinderFillBottomCap 2 Fill the cylinder's bottom cap. eStkGraphicsCylinderFillTopCap 4 Fill the cylinder's top cap. eStkGraphicsCylinderFillAll 7 Completely fill the cylinder, including its wall, bottom, and top cap. ored together.
