MipResources::CmdBB2D Class Reference
[Draw window]

Bounding box command, set the bounding box of a draw scene. More...

#include <DraWinObj.h>

Inheritance diagram for MipResources::CmdBB2D:

MipResources::CmdDraWinObj MipResources::DraWinObj

List of all members.

Public Member Functions

 CmdBB2D (Position p1, Position p2)
 Constructor with parameters.
 CmdBB2D (Position center, Decimal halfLx, Decimal halfLy)
 Constructor with parameters.
DraWinObjPlate plate ()
 Gets the plate.
void boundBox (DraWinBoundBox &bb)
 Gets the bounding box.


Detailed Description

Bounding box command, set the bounding box of a draw scene.
Examples:

exampleDraWin.cpp.


Constructor & Destructor Documentation

MipResources::CmdBB2D::CmdBB2D ( Position  p1,
Position  p2 
) [inline]

Constructor with parameters.

Parameters:
p1 Low left vertex.
p2 Up right vertex.

MipResources::CmdBB2D::CmdBB2D ( Position  center,
Decimal  halfLx,
Decimal  halfLy 
)

Constructor with parameters.

Parameters:
center Center.
halfLx Horizontal half dimension.
halfLy vertical half dimension.


Member Function Documentation

DraWinObjPlate MipResources::CmdBB2D::plate (  )  [inline, virtual]

Gets the plate.

Returns:
Plate.

Implements MipResources::DraWinObj.

void MipResources::CmdBB2D::boundBox ( DraWinBoundBox bb  )  [virtual]

Gets the bounding box.

Returns:
Bounding box.

Implements MipResources::DraWinObj.


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

Generated on Mon Feb 20 07:01:12 2017 for MIP by  doxygen 1.5.6