ContRap-Libraries
Data Structures | Namespaces | Enumerations | Functions

primitives.h File Reference

This file is a part of ContRap. More...

#include <cmath>
#include <vector>
#include <string>
#include "core/pointer.h"
#include "imageexports.h"

Data Structures

class  crp::Pixel
 Class Pixel represents pixel coordinates in the image. More...
class  crp::Color
 Class Color represents a system independent color. More...
class  crp::Primitive2D
 Class Primitive2D is an interface for all geometric primitives. More...
class  crp::Point2D
 Class Point2D represents a point. More...
class  crp::Rect2D
 Class Rect2D is a rectangle representation. More...
class  crp::Line2D
 Class Line2D is a line representation. More...
class  crp::Ray2D
 Class Line2D is a ray unbounded in both directions. More...
class  crp::Circle2D
 Class Circle2D represents a circle. More...
class  crp::Triplet2D
 Class Triplet2D is a lightweight equivalent of a triangle to store triangle structures over an initialized point sets. More...
class  crp::Triangle2D
 Class Triangle2D represents a triangle. More...
class  crp::Text2D
 Class Text2D represents a line of text. More...
class  crp::Polygon2D
 Class Polygon2D represents a polygon. More...
class  crp::Ellipse2D
class  crp::Container2D
 Class Container2D represents a primitive container. More...

Namespaces

namespace  crp

Enumerations

enum  crp::PointStyle {
  crp::NO_STYLE, crp::CROSS_STYLE, crp::CIRCLE_STYLE, crp::DIAMOND_STYLE,
  crp::TRIANGLE_STYLE
}
 

Defines the style of the point.

More...

Functions

CONTRAP_IMAGES_API bool crp::inside_interval (double x, double start, double end)
 Interval check.

Detailed Description

This file is a part of ContRap.

Copyright (c) 2009 Aless Lasaruk

ContRap is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

ContRap is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along with ContRap. If not, see <http://www.gnu.org/licenses/>.

This file contains geometric primitives for data interchange

Author:
Aless Lasaruk