Data structure for the representation of a 2D vector.
Data structure for the representation of a 2D straight line.
float width
The width of the rectangle.
Vec2d normalVector
The normalized normal vector of the straight line.
CDynamicArrayTemplate< int > CIntArray
MyRegion(const MyRegion ®ion)
StraightLine2d(float angle, float c)
CDynamicArrayTemplate< Ellipse2d > CEllipse2dArray
void SubtractVecVec(const Vec2d &vector1, const Vec2d &vector2, Vec2d &result)
CDynamicArrayTemplate< StraightLine2d > CStraightLine2dArray
void NormalizeVec(Vec2d &vec)
float radius_x
The radius in horizontal direction of the ellipse (horizontal refers to when angle = 0)...
float radius
The radius of the circle.
float radius_y
The radius in vertical direction of the ellipse (vertical refers to when angle = 0).
Vec2d directionVector
The normalized direction vector of the straight line.
CDynamicArrayTemplate< Circle2d > CCircle2dArray
CDynamicArrayTemplate< MyRegion > CRegionArray
std::vector< MyRegion > RegionList
float ScalarProduct(const Vec2d &vector1, const Vec2d &vector2)
Data structure for the representation of a 3D vector.
Data structure for the representation of a 2D rectangle.
StraightLine2d(const PointPair2d &pointPair)
float angle
The angle of the rectangle.
Vec2d center
The center of the circle.
Vec2d center
The center of the ellipse.
float c
The negative scalar product of normalVector and point.
StraightLine2d(const Vec2d &point1, const Vec2d &point2)
Data structure for the representation of a 2D ellipse.
Data structure for the representation of a 2D circle.
float angle
The rotiation angle of the ellipse, given in radians.
Vec2d center
The center of the rectangle.
MyRegion & operator=(const MyRegion ®ion)
void SetVec(Vec2d &vec, float x, float y)
Vec2d point
An aribtrary point belonging to the straight line.
float height
The height of the rectangle.