////////////////////////////////////////////////////////////////////////////// // // Copyright 2016 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. // ////////////////////////////////////////////////////////////////////////////// #pragma once #include "FilletEdgeSet.h" // THIS CLASS WILL BE VISIBLE TO AN API CLIENT. // THIS HEADER FILE WILL BE GENERATED FROM NIDL. #include "../../Core/OSMacros.h" #ifdef FUSIONXINTERFACE_EXPORTS # ifdef __COMPILING_ADSK_FUSION_CONSTANTRADIUSFILLETEDGESET_CPP__ # define ADSK_FUSION_CONSTANTRADIUSFILLETEDGESET_API XI_EXPORT # else # define ADSK_FUSION_CONSTANTRADIUSFILLETEDGESET_API # endif #else # define ADSK_FUSION_CONSTANTRADIUSFILLETEDGESET_API XI_IMPORT #endif namespace adsk { namespace fusion { class ModelParameter; }} namespace adsk { namespace core { class ObjectCollection; }} namespace adsk { namespace fusion { /// Provides access to the edges and the parameter associated with a constant radius fillet. class ConstantRadiusFilletEdgeSet : public FilletEdgeSet { public: /// Gets and sets the edges that will be filleted. /// To use this property, you need to position the timeline marker to immediately before this feature. /// This can be accomplished using the following code: thisFeature.timelineObject.rollTo(True) core::Ptr edges() const; bool edges(const core::Ptr& value); /// Returns the model parameter that controls the radius of the fillet. You can edit /// the radius by using the properties on the returned ModelParameter object. core::Ptr radius() const; ADSK_FUSION_CONSTANTRADIUSFILLETEDGESET_API static const char* classType(); ADSK_FUSION_CONSTANTRADIUSFILLETEDGESET_API const char* objectType() const override; ADSK_FUSION_CONSTANTRADIUSFILLETEDGESET_API void* queryInterface(const char* id) const override; ADSK_FUSION_CONSTANTRADIUSFILLETEDGESET_API static const char* interfaceId() { return classType(); } private: // Raw interface virtual core::ObjectCollection* edges_raw() const = 0; virtual bool edges_raw(core::ObjectCollection* value) = 0; virtual ModelParameter* radius_raw() const = 0; }; // Inline wrappers inline core::Ptr ConstantRadiusFilletEdgeSet::edges() const { core::Ptr res = edges_raw(); return res; } inline bool ConstantRadiusFilletEdgeSet::edges(const core::Ptr& value) { return edges_raw(value.get()); } inline core::Ptr ConstantRadiusFilletEdgeSet::radius() const { core::Ptr res = radius_raw(); return res; } }// namespace fusion }// namespace adsk #undef ADSK_FUSION_CONSTANTRADIUSFILLETEDGESET_API