AGI STK Graphics 11Send comments on this topic.
Compute Method (IAgStkGraphicsCylinderTriangulatorInitializer)
See Also 
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 logically ored together.
Windows






Windows & Linux

Description

Computes the triangulation for a cylinder centered at the origin.

Syntax

[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(
   double Length,
   double BottomRadius,
   double TopRadius,
   int Slices,
   AgEStkGraphicsCylinderFill CylinderFill
);
[Managed C++]
public: IAgStkGraphicsSolidTriangulatorResult^ Compute(
   double Length,
   double BottomRadius,
   double TopRadius,
   int Slices,
   AgEStkGraphicsCylinderFill CylinderFill
);
[Java]
public IAgStkGraphicsSolidTriangulatorResult compute(
   double Length,
   double BottomRadius,
   double TopRadius,
   ppInteger Slices,
   AgEStkGraphicsCylinderFill CylinderFill
);
[Unmanaged C++]
public: HRESULT Compute(
   double Length,
   double BottomRadius,
   double TopRadius,
   int Slices,
   AgEStkGraphicsCylinderFill CylinderFill,
   IAgStkGraphicsSolidTriangulatorResult ** ReturnValue
);

Parameters

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
MemberValueDescription
eStkGraphicsCylinderFillWall1Fill the cylinder's wall.
eStkGraphicsCylinderFillBottomCap2Fill the cylinder's bottom cap.
eStkGraphicsCylinderFillTopCap4Fill the cylinder's top cap.
eStkGraphicsCylinderFillAll7Completely fill the cylinder, including its wall, bottom, and top cap.
Flags enumeration indicating what cylinder faces should be filled. Values can be logically ored together.

See Also

© 2018 Analytical Graphics, Inc. All Rights Reserved.