2
Copyright (c) 2008-2009 NetAllied Systems GmbH
4
This file is part of MayaDataModel.
6
Licensed under the MIT Open Source License,
7
for details please see LICENSE file or the website
8
http://www.opensource.org/licenses/mit-license.php
10
#ifndef __MayaDM_ARCLENGTHDIMENSION_H__
11
#define __MayaDM_ARCLENGTHDIMENSION_H__
12
#include "MayaDMTypes.h"
13
#include "MayaDMConnectables.h"
14
#include "MayaDMNurbsDimShape.h"
17
class ArcLengthDimension : public NurbsDimShape
22
ArcLengthDimension():NurbsDimShape(){}
23
ArcLengthDimension(FILE* file,const std::string& name,const std::string& parent="",bool shared=false,bool create=true)
24
:NurbsDimShape(file, name, parent, "arcLengthDimension", shared, create){}
25
virtual ~ArcLengthDimension(){}
27
void getArcLength()const
29
fprintf(mFile,"\"%s.al\"",mName.c_str());
31
void getArcLengthInV()const
33
fprintf(mFile,"\"%s.alv\"",mName.c_str());
36
ArcLengthDimension(FILE* file,const std::string& name,const std::string& parent,const std::string& nodeType,bool shared=false,bool create=true)
37
:NurbsDimShape(file, name, parent, nodeType, shared, create) {}
41
#endif//__MayaDM_ARCLENGTHDIMENSION_H__