
//
//////////////////////////////////////////////////////////////////////////////
//
//  Copyright 2013 Autodesk, Inc.  All rights reserved.
//
//  Use of this software is subject to the terms of the Autodesk license 
//  agreement provided at the time of installation or download, or which 
//  otherwise accompanies this software in either electronic or hard copy form.   
//
//////////////////////////////////////////////////////////////////////////////
//
// DESCRIPTION:
//
// This file contains the class AcGeOffsetCurve3d - A mathematical
// entity used to represent an exact offset of a 3d curve.

#ifndef AC_GEOFFC3D_H
#define AC_GEOFFC3D_H

#include "gecurv3d.h"
#pragma pack (push, 8)

class 
GE_DLLEXPIMPORT
AcGeOffsetCurve3d : public AcGeCurve3d
{
public:

    // Constructors
    //
    AcGeOffsetCurve3d (const AcGeCurve3d& baseCurve, const AcGeVector3d& planeNormal,
                       double offsetDistance);
    AcGeOffsetCurve3d (const AcGeOffsetCurve3d& offsetCurve);

	// Query methods
	//
    const AcGeCurve3d*  curve             () const;
    AcGeVector3d        normal            () const; 
    double              offsetDistance    () const;
	Adesk::Boolean		paramDirection    () const;
	AcGeMatrix3d		transformation    () const;

	// Set methods
	//
    AcGeOffsetCurve3d&  setCurve          (const AcGeCurve3d& baseCurve);
    AcGeOffsetCurve3d&  setNormal         (const AcGeVector3d& planeNormal);
    AcGeOffsetCurve3d&  setOffsetDistance (double offsetDistance);

    // Assignment operator.
    //
    AcGeOffsetCurve3d&  operator = (const AcGeOffsetCurve3d& offsetCurve);
};

#pragma pack (pop)
#endif
