MipResources::Segment2D Class Reference
[Draw window]

2D segment. More...

#include <DraWinObj.h>

Inheritance diagram for MipResources::Segment2D:

MipResources::FigDraWinObj MipResources::DraWinObj

List of all members.

Public Member Functions

 Segment2D (Position v1, Position v2)
 Constructor with paprameters.
DraWinObjPlate plate ()
 Gets the plate.
Position p1 ()
 Gets the first vertex.
Position p2 ()
 Gets the second vertex.
void boundBox (DraWinBoundBox &bb)
 Gets the bounding box.


Detailed Description

2D segment.
Examples:

exampleDraWin.cpp.


Constructor & Destructor Documentation

MipResources::Segment2D::Segment2D ( Position  v1,
Position  v2 
) [inline]

Constructor with paprameters.

Parameters:
v1 First vertex.
v2 Second vertex.


Member Function Documentation

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

Gets the plate.

Returns:
Plate.

Implements MipResources::DraWinObj.

Position MipResources::Segment2D::p1 (  )  [inline]

Gets the first vertex.

Returns:
First vertex.

Position MipResources::Segment2D::p2 (  )  [inline]

Gets the second vertex.

Returns:
Second vertex.

void MipResources::Segment2D::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