Class hierarchy   Compound list   Header files   Member list  

dimeEllipse Class Reference

The dimeEllipse class handles an ELLIPSE entity. More...

#include <Ellipse.h>

Inherits dimeEntity.

List of all members.

Public Members

Protected Members


Detailed Description

The dimeEllipse class handles an ELLIPSE entity.


Member Function Documentation

dimeEllipse::dimeEllipse()

Constructor.

void dimeEllipse::setCenter(const dimeVec3f &c)

Sets the center coordinates of the ellipse.

const dimeVec3f &dimeEllipse::getCenter() const

Returns the center coordinates of the ellipse.

void dimeEllipse::setMajorAxisEndpoint(const dimeVec3f &v)

Sets the major axis endpoint of the ellipse.

See also:
setRatio()

const dimeVec3f &dimeEllipse::getMajorAxisEndpoint() const

Returns the major axis endpoint of this ellipse.

void dimeEllipse::setMinorMajorRatio(const dxfdouble ratio)

Sets the ratio of the minor axis to the major axis.

dxfdouble dimeEllipse::getMinorMajorRatio() const

Returns the ratio of the minor axis to the major axis.

void dimeEllipse::setStartParam(const dxfdouble p)

Sets the start parameter for this ellipse. Possible values range from 0 to 2pi. Default value is 0.

dxfdouble dimeEllipse::getStartParam() const

Returns the start parameter for this ellipse.

See also:
dimeEllipse::setStartParam()

void dimeEllipse::setEndParam(const dxfdouble p)

Sets the end parameter for this ellipse. Possible values range from 0 to 2pi, but this value should be bigger than the start parameter. Default value is 2pi.

See also:
dimeEllipse::setStartParam()

dxfdouble dimeEllipse::getEndParam() const

Returns the end parameter for this ellipse.

See also:
dimeEllipse::setEndParam()

dimeEntity* dimeEllipse::copy(dimeModel * const model) const [virtual]

Reimplemented from dimeEntity.

bool dimeEllipse::getRecord(const int groupcode, dimeParam &param, const int index) const [virtual]

Reimplemented from dimeRecordHolder.

const char* dimeEllipse::getEntityName() const [virtual]

Reimplemented from dimeEntity.

void dimeEllipse::print() const [virtual]

Reimplemented from dimeEntity.

bool dimeEllipse::write(dimeOutput * const file) [virtual]

Reimplemented from dimeRecordHolder.

int dimeEllipse::typeId() const [virtual]

Reimplemented from dimeBase.

int dimeEllipse::countRecords() const [virtual]

Reimplemented from dimeRecordHolder.

bool dimeEllipse::handleRecord(const int groupcode, const dimeParam &param, dimeMemHandler * const memhandler) [protected, virtual]

Reimplemented from dimeRecordHolder.


The documentation for this class was generated from the following files:
Copyright © 1998-1999, Systems In Motion <sales@sim.no>. All rights reserved.
System documentation was generated using doxygen.