---
name: "tlp_Rectangle"
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/tlp_Rectangle"
---

# tlp\_Rectangle(3tulip)

class for rectangle

## NAME

tlp::Rectangle -

class for rectangle

## SYNOPSIS

`#include <Rectangle.h>`

Inherits **Array\< Vector\< Obj, 2 \>, 2 \>**.

### Public Member Functions

bool **intersect** (const **Rectangle** &r) const \
 void **translate** (const **tlp::Vector**\< Obj, 2 \> &v)\

## Detailed Description

### template\<typename Obj\> struct tlp::Rectangle\< Obj \>

class for rectangle

Enables to both create and manipulate a rectangle

Author : \<a href="mailto:auber@tulip-software.org\>David Auber Version 0.0.1 24/01/2003

## Member Function Documentation

### template\<typename Obj \> bool tlp::Rectangle\< Obj \>::intersect (const Rectangle\< Obj \> & r) const` [inline]` Returns true if r intersect 'this'.

### template\<typename Obj \> void tlp::Rectangle\< Obj \>::translate (const tlp::Vector\< Obj, 2 \> & v)` [inline]` Translate 'this' by vector v

## Author

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