Table of Contents

Field Pi

Namespace
Zyl.VectorTraits
Assembly
VectorTraits.dll

Represents the ratio of the circumference of a circle to its diameter, specified by the constant, π (表示圆的周长与其直径的比值,由常数 π 指定). When the type is an integer, it is a fixed point number using the FixedShift convention (当类型为整数时, 是使用 FixedShift 约定的定点数).

public static readonly T Pi

Returns

T
Represents the ratio of the circumference of a circle to its diameter, specified by the constant, π (表示圆的周长与其直径的比值,由常数 π 指定). When the type is an integer, it is a fixed point number using the convention (当类型为整数时, 是使用 约定的定点数).