Rational Class

Represents signed rational numbers.

Namespace: Aurigma.GraphicsMill
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public class Rational

Remarks

Rational number is a number which may be represented as a division of two natural numbers. For example, 3/4, 2/1, 1/6, etc. Not all fractional numbers are rational. For example, a Pi number is irrational (i.e. cannot be represented as a division of two natural numbers).

This class provides an access to Dividend and Divider. A Divider cannot be zero.

Inheritance Hierarchy

System..Object
L Aurigma.GraphicsMill..Rational

Thread Safety

Static members of this type are not safe for multi-threaded operations. Instance members of this type are not safe for multi-threaded operations.

See Also

Reference