NAME

LaTeX::TikZ::Tools - Miscellaneous tools for LaTeX::TikZ classes.

VERSION

Version 0.03

CONSTANTS

EPS

The numerical accuracy enforced by "numeq", "numcmp" and "numround". It is currently set to 1e-10.

FUNCTIONS

numeq

numeq($x, $y)

Returns true if and only if $x and $y are equal up to "EPS".

numcmp

numcmp($x, $y)

Returns a negative number, zero, or a positive number when $x is respectively smaller than, equal to, or greater than $y up to "EPS".

numround

numround($x)

Returns the closest integer from $x up to "EPS".

type_constraint

my $tc = type_constraint($class)

Finds the type constraint for $class by first trying to load the relevant .pm file.

SEE ALSO

LaTeX::TikZ.

AUTHOR

Vincent Pit, <perl at profvince.com>, http://www.profvince.com.

You can contact me by mail or on irc.perl.org (vincent).

BUGS

Please report any bugs or feature requests to bug-latex-tikz at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=LaTeX-TikZ. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

perldoc LaTeX::TikZ

COPYRIGHT & LICENSE

Copyright 2010,2011,2012,2013,2014,2015 Vincent Pit, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.