Repository URL to install this package:
|
Version:
2016.3.0.4050 ▾
|
//========================================================================//
// SOURCE CODE LICENSE //
// Copyright 2012 Dassault Systèmes SolidWorks Corporation //
// All rights reserved. //
// This software and related documentation are proprietary to //
// Dassault Systèmes SolidWorks Corporation //
//========================================================================//
// dsHatch_c.h, C++ API dsHatch_c interface
//
#pragma once
#include "dsinterface_global.h"
#include "dsInterfaceDefs.h"
#include "dsConstants.h"
#include "dsObject.h"
#include "dsString.h"
class dsTransparency_c;
class dsHatch_p;
class dsHatch;
class dsColor_c;
class dsCustomData_c;
class dsHatchPattern_c;
class dsHyperLink_c;
class dsHatchBoundaryLoop_c;
class dsMathVector_c;
class dsDictionary_c;
class DSINTERFACE_EXPORT dsHatch_c : public dsObject
{
DECLARE_DSCPP_INTERFACE(dsHatch)
public:
DSRESULT IsSame(dsHatch_c* dsObj);
DSRESULT get_Layer(dsString* Val);
DSRESULT put_Layer(const dsString& NewVal);
DSRESULT get_LineStyle(dsString* Val);
DSRESULT put_LineStyle(const dsString& NewVal);
DSRESULT get_LineScale(double* Val);
DSRESULT put_LineScale(double NewVal);
DSRESULT get_LineWeight(dsLineWeight_e* Val);
DSRESULT put_LineWeight(dsLineWeight_e NewVal);
DSRESULT get_Visible(bool* Val);
DSRESULT put_Visible(bool NewVal);
DSRESULT Select(bool SelectFlag, bool* Res);
DSRESULT get_Color(dsColor_c ** Val);
DSRESULT put_Color(dsColor_c * NewVal);
DSRESULT get_Erased(bool * Val);
DSRESULT put_Erased(bool NewVal);
DSRESULT GetCustomData(const dsString& ApplicationName, dsCustomData_c ** CustomData);
DSRESULT SetCustomData(const dsString& ApplicationName, dsCustomData_c * CustomData);
DSRESULT DeleteCustomData(const dsString& ApplicationName);
DSRESULT get_Handle(dsString* Val);
DSRESULT GetHatchPattern(dsHatchPattern_c ** HatchPattern);
DSRESULT GetHyperLink(dsHyperLink_c ** HyperLink);
DSRESULT SetHyperLink(dsHyperLink_c * HyperLink);
DSRESULT DeleteHyperLink( );
DSRESULT GetBoundingBox(double * X1, double * Y1, double * Z1, double * X2, double * Y2, double * Z2);
DSRESULT GetBoundaryLoopsCount(long * Count);
DSRESULT GetHatchBoundaryLoop(long Index, dsHatchBoundaryLoop_c ** HatchBoundaryLoop);
DSRESULT get_Elevation(double * Val);
DSRESULT put_Elevation(double Val);
DSRESULT GetNormal(dsMathVector_c ** Normal);
DSRESULT SetNormal(dsMathVector_c * Normal);
DSRESULT CreateExtensionDictionary(dsDictionary_c ** Dictionary);
DSRESULT GetExtensionDictionary(dsDictionary_c ** Dictionary);
DSRESULT ReleaseExtensionDictionary(bool * Result);
DSRESULT get_PrintStyle(dsString* Val);
DSRESULT put_PrintStyle(const dsString& NewVal);
DSRESULT get_Transparency(dsTransparency_c ** Val);
DSRESULT put_Transparency(dsTransparency_c * NewVal);
};