---
name: "TreeTools.h"
section: "3tulip"
platform: "linux"
package: "tulip-doc"
version: "3.1.2-2.3"
release: "Debian 6.0 (Squeeze)"
platforms: ["linux"]
url: "https://new.carta.tech/TreeTools.h"
---

# TreeTools.h(3tulip)

## NAME

TreeTools.h -

## SYNOPSIS

`#include <tulip/Node.h>`\
 `#include <tulip/Graph.h>`\
 `#include <tulip/LayoutProperty.h>`\
 `#include <tulip/SizeProperty.h>`\

### Functions

bool **isLeaf** (const tlp::Graph \*tree, tlp::node n)\
 float **getNodeX** (tlp::LayoutProperty \*pLayout, tlp::node current)\
 float **getNodeY** (tlp::LayoutProperty \*pLayout, tlp::node current)\
 float **getNodeHeight** (tlp::SizeProperty \***size**, tlp::node current)\
 float **getNodeWidth** (tlp::SizeProperty \***size**, tlp::node current)\

## Function Documentation

### float getNodeHeight (tlp::SizeProperty \* size, tlp::node current)` [inline]`

### float getNodeWidth (tlp::SizeProperty \* size, tlp::node current)` [inline]`

### float getNodeX (tlp::LayoutProperty \* pLayout, tlp::node current)` [inline]`

### float getNodeY (tlp::LayoutProperty \* pLayout, tlp::node current)` [inline]`

### bool isLeaf (const tlp::Graph \* tree, tlp::node n)` [inline]` Authors: David Auber, Patrick Mary, Morgan Mathiaut from the LaBRI Visualization Team Email : auber@tulip-software.org Last modification : 13/03/2009 This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

## Author

Generated automatically by Doxygen for Tulip Plugins Library from the source code.
