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( 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 ); |
[Unmanaged C++] |
---|
public: HRESULT Compute( double Length, double BottomRadius, double TopRadius, int Slices, AgEStkGraphicsCylinderFill CylinderFill, IAgStkGraphicsSolidTriangulatorResult ** ppRetVal ); |
[Java] |
---|
public IAgStkGraphicsSolidTriangulatorResult compute( double Length, double BottomRadius, double TopRadius, Integer Slices, AgEStkGraphicsCylinderFill CylinderFill ); |
[Python - STK API ] |
---|
def Compute(self, Length:float, BottomRadius:float, TopRadius:float, Slices:int, CylinderFill:"AgEStkGraphicsCylinderFill") -> "IAgStkGraphicsSolidTriangulatorResult": |
- Length
- The length of the cylinder along the z axis.
- BottomRadius
- The radius of the cylinder's bottom cap.
- TopRadius
- The radius 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
or
ed together.