This documentation is for the old version. Go to the latest Graphics Mill docs

Rational Structure

This class represents signed rational numbers.

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

Syntax

Visual Basic
Public Structure Rational
C#
public struct 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.

See Also

Reference