/////////////////////////////////////////////////////////////////////////////// // Copyright (C) 2002-2025, Open Design Alliance (the "Alliance"). // All rights reserved. // // This software and its documentation and related materials are owned by // the Alliance. The software may only be incorporated into application // programs owned by members of the Alliance, subject to a signed // Membership Agreement and Supplemental Software License Agreement with the // Alliance. The structure and organization of this software are the valuable // trade secrets of the Alliance and its suppliers. The software is also // protected by copyright law and international treaty provisions. Application // programs incorporating this software must include the following statement // with their copyright notices: // // This application incorporates Open Design Alliance software pursuant to a license // agreement with Open Design Alliance. // Open Design Alliance Copyright (C) 2002-2025 by Open Design Alliance. // All rights reserved. // // By use of this software, its documentation or related materials, you // acknowledge and accept the above terms. /////////////////////////////////////////////////////////////////////////////// #ifndef __DGSURFACEPROPS__H__ #define __DGSURFACEPROPS__H__ #include "DgProperties.h" #include "Dg3DObject.h" #include "DgBSplineSurface.h" // Class OdDgSurface properties. // Category "Surface": /* 1 - Type */ ODRX_DECLARE_RX_PROPERTY(OdDgSurface, Type, OdDgSurface::Type, "Surface", 1, "Type", ""); /* 2 - Items */ ODRX_DECLARE_RX_PROPERTY_COLLECTION_TREE(OdDgSurface, Items, OdDgElementId, "Surface", 2, "Graphics cache", "Entity"); // Class OdDgBSplineSurface properties. // Category "B Spline Surface": /* 1 - SurfaceDisplayFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgBSplineSurface, SurfaceDisplayFlag, bool, "B Spline Surface", 1, "Surface display flag", ""); /* 2 - ControlNetDisplayFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgBSplineSurface, ControlNetDisplayFlag, bool, "B Spline Surface", 2, "Control net display flag", ""); /* 3 - FirstBoundaryIsHoleFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgBSplineSurface, FirstBoundaryIsHoleFlag, bool, "B Spline Surface", 3, "First boundary is hole flag", ""); /* 4 - HoleFlag */ ODRX_DECLARE_RX_PROPERTY(OdDgBSplineSurface, HoleFlag, bool, "B Spline Surface", 4, "Hole flag", ""); /* 5 - Boundaries */ ODRX_DECLARE_RX_PROPERTY_INDEXED(OdDgBSplineSurface, Boundaries, OdGePoint2dArray, "B Spline Surface", 5, "Boundaries", ""); /* 6 - ControlPoints */ ODRX_DECLARE_RX_PROPERTY_INDEXED(OdDgBSplineSurface, ControlPoints, OdGePoint3d, "B Spline Surface", 6, "Control points", ""); /* 7 - Weights */ ODRX_DECLARE_RX_PROPERTY_INDEXED(OdDgBSplineSurface, Weights, OdDouble, "B Spline Surface", 7, "Weights", ""); /* 8 - IsRational */ ODRX_DECLARE_RX_PROPERTY_RO(OdDgBSplineSurface, IsRational, bool, "B Spline Surface", 8, "Is rational"); #endif // __DGSURFACEPROPS__H__