A line, ray, point or closure point.
More...
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.
◆ closure_point()
Returns the closure point at e / d.
- Exceptions
-
| RuntimeErrorException | Thrown if d is zero. |
- Parameters
-
| e | The linear expression operand. |
| d | The divisor interpreting the expression coefficients as rational coordinates. |
- Returns
- The closure point at
e / d.
◆ line()
Returns the line of direction e.
- Exceptions
-
| RuntimeErrorException | Thrown if the homogeneous part of e represents the origin of the vector space. |
- Parameters
-
| e | The linear expression operand. |
- Returns
- The line of direction
e.
◆ point()
Returns the point at e / d.
- Exceptions
-
| RuntimeErrorException | Thrown if d is zero. |
- Parameters
-
| e | The linear expression operand. |
| d | The divisor interpreting the expression coefficients as rational coordinates. |
- Returns
- The point at
e / d.
◆ ray()
Returns the ray of direction e.
- Exceptions
-
| RuntimeErrorException | Thrown if the homogeneous part of e represents the origin of the vector space. |
- Parameters
-
| e | The linear expression operand. |
- Returns
- The ray of direction
e.
◆ type()
Returns the generator type.
- Returns
- The generator type.
◆ linear_expression()
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
-
| RuntimeErrorException | Thrown 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: