PoPieChartRepSetSliceToTranslate Method |
Convenience methods to set the fields sliceToTranslateNumber and sliceToTranslateRadius.
Namespace: OIV.MeshViz.GraphAssembly: OIV.MeshViz (in OIV.MeshViz.dll) Version: 2024.2.2.0 (10.16.2.0)
Syntax public void SetSliceToTranslate(
int sliceNumber,
float radius
)
Public Sub SetSliceToTranslate (
sliceNumber As Integer,
radius As Single
)
public:
void SetSliceToTranslate(
int sliceNumber,
float radius
)
member SetSliceToTranslate :
sliceNumber : int *
radius : float32 -> unit
Parameters
- sliceNumber
- Type: SystemInt32
- radius
- Type: SystemSingle
Remarks This is equivalent to the following pseudo code:
for (i=0; i < min(sliceToTranslateNumber.getNum(),sliceToTranslateRadius.getNum()); i++)
if (sliceNumber == sliceToTranslateNumber[i]) break;
sliceToTranslateRadius[i] = radius;
sliceToTranslateNumber[i] = sliceNumber;
See Also