Public Member Functions | List of all members
Dimension2dData Struct Reference

#include <Constraint2dCoreAPI.h>

Inheritance diagram for Dimension2dData:
Constraint2dData

Public Member Functions

CONSTRAINT2DCORE_EXPORT Dimension2dData ()
 A blank constructor. More...
 
CONSTRAINT2DCORE_EXPORT Dimension2dData (Constraint2dType constraintType)
 Constructor initialized with a specified constraint type. More...
 
CONSTRAINT2DCORE_EXPORT Dimension2dData (Dimension2dData const &d2)
 
CONSTRAINT2DCORE_EXPORT
Dimension2dData
operator= (Dimension2dData const &d2)
 
CONSTRAINT2DCORE_EXPORT void SetDimensionValue (double value)
 Set a new dimension value. More...
 
CONSTRAINT2DCORE_EXPORT double GetDimensionValue () const
 Get dimension value. More...
 
CONSTRAINT2DCORE_EXPORT void SetVariableName (WStringCR name)
 Set variable name. More...
 
CONSTRAINT2DCORE_EXPORT WStringCR GetVariableName () const
 Get variable name. More...
 
CONSTRAINT2DCORE_EXPORT void SetSectorAngleType (SectorAngleType type)
 
CONSTRAINT2DCORE_EXPORT
SectorAngleType 
GetSectorAngleType () const
 
CONSTRAINT2DCORE_EXPORT void SetDimensionHeight (double value)
 
CONSTRAINT2DCORE_EXPORT double GetDimensionHeight () const
 
CONSTRAINT2DCORE_EXPORT void SetDimensionFraction (double value)
 
CONSTRAINT2DCORE_EXPORT double GetDimensionFraction () const
 
CONSTRAINT2DCORE_EXPORT void SetAngleSectorIndex (UInt32 sectorIndex)
 
CONSTRAINT2DCORE_EXPORT UInt32 GetAngleSectorIndex () const
 
CONSTRAINT2DCORE_EXPORT void SetHalfSpace1 (DimensionHalfSpace halfSpace)
 
CONSTRAINT2DCORE_EXPORT
DimensionHalfSpace 
GetHalfSpace1 () const
 
CONSTRAINT2DCORE_EXPORT void SetHalfSpace2 (DimensionHalfSpace halfSpace)
 
CONSTRAINT2DCORE_EXPORT
DimensionHalfSpace 
GetHalfSpace2 () const
 
CONSTRAINT2DCORE_EXPORT void SetDimensionAlignmentType (DimensionAlignmentType type)
 
CONSTRAINT2DCORE_EXPORT
DimensionAlignmentType 
GetDimensionAlignmentType () const
 
CONSTRAINT2DCORE_EXPORT bool operator== (Dimension2dDataCR rhs) const
 
CONSTRAINT2DCORE_EXPORT void SetDimensionXOffset (double value)
 
CONSTRAINT2DCORE_EXPORT double GetDimensionXOffset () const
 
CONSTRAINT2DCORE_EXPORT void SetDiaType (UInt32 value)
 
CONSTRAINT2DCORE_EXPORT UInt32 GetDiaType () const
 
- Public Member Functions inherited from Constraint2dData
CONSTRAINT2DCORE_EXPORT Constraint2dData ()
 A blank constructor. More...
 
CONSTRAINT2DCORE_EXPORT Constraint2dData (Constraint2dType constraintType)
 Constructor initialized with parameters. More...
 
virtual CONSTRAINT2DCORE_EXPORT ~Constraint2dData ()
 
CONSTRAINT2DCORE_EXPORT Constraint2dData (Constraint2dData const &c2)
 
CONSTRAINT2DCORE_EXPORT
Constraint2dData
operator= (Constraint2dData const &c2)
 
CONSTRAINT2DCORE_EXPORT void SetConstraintType (Constraint2dType type)
 Set the constraint type. More...
 
CONSTRAINT2DCORE_EXPORT
Constraint2dType 
GetConstraintType () const
 Get the constraint type. More...
 
CONSTRAINT2DCORE_EXPORT void SetConstraintStatus (Constraint2dStatus status)
 Set the constraint status. More...
 
CONSTRAINT2DCORE_EXPORT
Constraint2dStatus 
GetConstraintStatus () const
 Get the constraint status. More...
 
CONSTRAINT2DCORE_EXPORT void AddCurveIdentifier (CurveEntityIdentifierCR id)
 Add curve identifier. More...
 
CONSTRAINT2DCORE_EXPORT
T_CurveEntityIdArray const & 
GetCurveIdentifiers () const
 Get the curve identifiers. More...
 

Constructor & Destructor Documentation

CONSTRAINT2DCORE_EXPORT Dimension2dData ( )

A blank constructor.

CONSTRAINT2DCORE_EXPORT Dimension2dData ( Constraint2dType  constraintType)

Constructor initialized with a specified constraint type.

Parameters
[in]constraintTypeA constraint type
CONSTRAINT2DCORE_EXPORT Dimension2dData ( Dimension2dData const &  d2)

Member Function Documentation

CONSTRAINT2DCORE_EXPORT UInt32 GetAngleSectorIndex ( ) const
CONSTRAINT2DCORE_EXPORT UInt32 GetDiaType ( ) const
CONSTRAINT2DCORE_EXPORT DimensionAlignmentType GetDimensionAlignmentType ( ) const
CONSTRAINT2DCORE_EXPORT double GetDimensionFraction ( ) const
CONSTRAINT2DCORE_EXPORT double GetDimensionHeight ( ) const
CONSTRAINT2DCORE_EXPORT double GetDimensionValue ( ) const

Get dimension value.

Returns
Dimension value
CONSTRAINT2DCORE_EXPORT double GetDimensionXOffset ( ) const
CONSTRAINT2DCORE_EXPORT DimensionHalfSpace GetHalfSpace1 ( ) const
CONSTRAINT2DCORE_EXPORT DimensionHalfSpace GetHalfSpace2 ( ) const
CONSTRAINT2DCORE_EXPORT SectorAngleType GetSectorAngleType ( ) const
CONSTRAINT2DCORE_EXPORT WStringCR GetVariableName ( ) const

Get variable name.

Returns
A WString reference to the variable name
CONSTRAINT2DCORE_EXPORT Dimension2dData& operator= ( Dimension2dData const &  d2)
CONSTRAINT2DCORE_EXPORT bool operator== ( Dimension2dDataCR  rhs) const
CONSTRAINT2DCORE_EXPORT void SetAngleSectorIndex ( UInt32  sectorIndex)
CONSTRAINT2DCORE_EXPORT void SetDiaType ( UInt32  value)
CONSTRAINT2DCORE_EXPORT void SetDimensionAlignmentType ( DimensionAlignmentType  type)
CONSTRAINT2DCORE_EXPORT void SetDimensionFraction ( double  value)
CONSTRAINT2DCORE_EXPORT void SetDimensionHeight ( double  value)
CONSTRAINT2DCORE_EXPORT void SetDimensionValue ( double  value)

Set a new dimension value.

Parameters
[in]valueA new dimension value to set
CONSTRAINT2DCORE_EXPORT void SetDimensionXOffset ( double  value)
CONSTRAINT2DCORE_EXPORT void SetHalfSpace1 ( DimensionHalfSpace  halfSpace)
CONSTRAINT2DCORE_EXPORT void SetHalfSpace2 ( DimensionHalfSpace  halfSpace)
CONSTRAINT2DCORE_EXPORT void SetSectorAngleType ( SectorAngleType  type)
CONSTRAINT2DCORE_EXPORT void SetVariableName ( WStringCR  name)

Set variable name.

Parameters
[in]nameVariable name

The documentation for this struct was generated from the following file:

Copyright © 2017 Bentley Systems, Incorporated. All rights reserved.