PPL Java Language Interface 2.0
parma_polyhedra_library.Generator Class Reference

A line, ray, point or closure point. More...

Public Member Functions

Generator_Type type ()
 Returns the generator type.
Linear_Expression linear_expression ()
 Returns the linear expression in this.
Coefficient divisor ()
 If this is either a point or a closure point, returns its divisor.
native String ascii_dump ()
 Returns an ascii formatted internal representation of this.
native String toString ()
 Returns a string representation of this.

Static Public Member Functions

static Generator closure_point (Linear_Expression e, Coefficient d)
 Returns the closure point at e / d.
static Generator line (Linear_Expression e)
 Returns the line of direction e.
static Generator point (Linear_Expression e, Coefficient d)
 Returns the point at e / d.
static Generator ray (Linear_Expression e)
 Returns the ray of direction e.

Detailed Description

A line, ray, point or closure point.

An object of the class Generator is one of the following:

  • a line;
  • a ray;
  • a point;
  • a closure point.

Member Function Documentation

◆ closure_point()

Generator parma_polyhedra_library.Generator.closure_point ( Linear_Expression e,
Coefficient d )
inlinestatic

Returns the closure point at e / d.

Exceptions
RuntimeErrorExceptionThrown if d is zero.
Parameters
eThe linear expression operand.
dThe divisor interpreting the expression coefficients as rational coordinates.
Returns
The closure point at e / d.

◆ line()

Generator parma_polyhedra_library.Generator.line ( Linear_Expression e)
inlinestatic

Returns the line of direction e.

Exceptions
RuntimeErrorExceptionThrown if the homogeneous part of e represents the origin of the vector space.
Parameters
eThe linear expression operand.
Returns
The line of direction e.

◆ point()

Generator parma_polyhedra_library.Generator.point ( Linear_Expression e,
Coefficient d )
inlinestatic

Returns the point at e / d.

Exceptions
RuntimeErrorExceptionThrown if d is zero.
Parameters
eThe linear expression operand.
dThe divisor interpreting the expression coefficients as rational coordinates.
Returns
The point at e / d.

◆ ray()

Generator parma_polyhedra_library.Generator.ray ( Linear_Expression e)
inlinestatic

Returns the ray of direction e.

Exceptions
RuntimeErrorExceptionThrown if the homogeneous part of e represents the origin of the vector space.
Parameters
eThe linear expression operand.
Returns
The ray of direction e.

◆ type()

Generator_Type parma_polyhedra_library.Generator.type ( )
inline

Returns the generator type.

Returns
The generator type.

◆ linear_expression()

Linear_Expression parma_polyhedra_library.Generator.linear_expression ( )
inline

Returns the linear expression in this.

Returns
The linear expression in this.

◆ divisor()

Coefficient parma_polyhedra_library.Generator.divisor ( )
inline

If this is either a point or a closure point, returns its divisor.

Exceptions
RuntimeErrorExceptionThrown if this is neither a point nor a closure point.
Returns
The divisor of the selected object.

◆ ascii_dump()

native String parma_polyhedra_library.Generator.ascii_dump ( )

Returns an ascii formatted internal representation of this.

Returns
An ascii formatted internal representation of this.

◆ toString()

native String parma_polyhedra_library.Generator.toString ( )

Returns a string representation of this.

Returns
A string representation of this.

The documentation for this class was generated from the following file:
  • Generator.java