Ogre Procedural  0.3.0 unstable
Procedural Geometry & Textures for Ogre3D
Public Member Functions | List of all members
Procedural::Circle Class Reference

Represents a 2D circle. More...

#include <ProceduralGeometryHelpers.h>

Public Member Functions

 Circle ()
 
 Circle (Ogre::Vector2 center, Ogre::Real radius)
 Contructor with arguments. More...
 
 Circle (Ogre::Vector2 p1, Ogre::Vector2 p2, Ogre::Vector2 p3)
 Contructor with arguments. More...
 
bool isPointInside (const Ogre::Vector2 &p) const
 Tells whether that point is inside the circle or not. More...
 

Detailed Description

Represents a 2D circle.

Constructor & Destructor Documentation

◆ Circle() [1/3]

Procedural::Circle::Circle ( )

◆ Circle() [2/3]

Procedural::Circle::Circle ( Ogre::Vector2  center,
Ogre::Real  radius 
)

Contructor with arguments.

◆ Circle() [3/3]

Procedural::Circle::Circle ( Ogre::Vector2  p1,
Ogre::Vector2  p2,
Ogre::Vector2  p3 
)

Contructor with arguments.

Member Function Documentation

◆ isPointInside()

bool Procedural::Circle::isPointInside ( const Ogre::Vector2 p) const

Tells whether that point is inside the circle or not.


The documentation for this class was generated from the following file: