#ifndef  ENTITY_SDAISURFACE_DISTANCE_GEOMETRIC_CONSTRAINT_H
#define  ENTITY_SDAISURFACE_DISTANCE_GEOMETRIC_CONSTRAINT_H

// This file was generated by exp2cxx,
// 0.8.1.
// You probably don't want to edit it since your modifications
// will be lost if exp2cxx is used to regenerate it.

class SC_SCHEMA_EXPORT SdaiSurface_distance_geometric_constraint : public SdaiExplicit_geometric_constraint {
     protected:
        EntityAggregate_ptr _explicit_constraint_constrained_elements = NULL;          //  of  surface

        SdaiPoint_curve_or_surface_constraint_element_agg_ptr _explicit_constraint_reference_elements = NULL;          //  of  point_curve_or_surface_constraint_element

        EntityAggregate_ptr _near_points = NULL;          //  of  near_point_relationship

    public: 
        SdaiSurface_distance_geometric_constraint();
        SdaiSurface_distance_geometric_constraint( SDAI_Application_instance *se, bool addAttrs = true );
        SdaiSurface_distance_geometric_constraint( SdaiSurface_distance_geometric_constraint & e );
        ~SdaiSurface_distance_geometric_constraint();
        int opcode() {
            return 319;
        }
        EntityAggregate_ptr_c explicit_constraint_constrained_elements_() const;
        EntityAggregate_ptr   explicit_constraint_constrained_elements_();
        void explicit_constraint_constrained_elements_( const EntityAggregate_ptr x );

        SdaiPoint_curve_or_surface_constraint_element_agg_ptr_c explicit_constraint_reference_elements_() const;
        SdaiPoint_curve_or_surface_constraint_element_agg_ptr   explicit_constraint_reference_elements_();
        void explicit_constraint_reference_elements_( const SdaiPoint_curve_or_surface_constraint_element_agg_ptr x );

        EntityAggregate_ptr_c near_points_() const;
        EntityAggregate_ptr   near_points_();
        void near_points_( const EntityAggregate_ptr x );

};

inline SdaiSurface_distance_geometric_constraint * create_SdaiSurface_distance_geometric_constraint() {
    return new SdaiSurface_distance_geometric_constraint;
}

void init_SdaiSurface_distance_geometric_constraint(Registry& reg);

namespace ap210_electronic_assembly_interconnect_and_packaging_design_mim_lf {
    extern EntityDescriptor *e_surface_distance_geometric_constraint;
    extern AttrDescriptor *a_388Rexplicit_constraint_constrained_elements;
    extern AttrDescriptor *a_389Rexplicit_constraint_reference_elements;
    extern AttrDescriptor *a_390near_points;
}

#endif
