CAD Exchanger SDK
cadex::IGES_ReaderParameters Class Reference

Defines parameters of the IGES reader. More...

Inheritance diagram for cadex::IGES_ReaderParameters:
cadex::Base_ReaderParameters

Public Types

enum  VersionType { V2 = 2 }
 Specifies version of IGES reader. More...
 
enum  SurfaceCurveModeType { Auto, Use2d, Use3d }
 Specifies preference mode for reading surface curves. More...
 
- Public Types inherited from cadex::Base_ReaderParameters
typedef std::shared_ptr< internal::Base_ReaderParametersImpl > ImplPtrType
 Reserved for internal use.
 

Public Member Functions

 IGES_ReaderParameters ()
 Constructor.
 
bool SkipBlank () const
 Returns the flag whether the blank entities must be skipped during import.
 
bool & SkipBlank ()
 Returns the flag whether the blank entities must be skipped during import.
 
VersionType Version () const
 Returns version. More...
 
VersionTypeVersion ()
 Sets version. More...
 
SurfaceCurveModeType SurfaceCurveMode () const
 Returns a surface curve mode value.
 
SurfaceCurveModeTypeSurfaceCurveMode ()
 Returns a modifiable surface curve mode value.
 
- Public Member Functions inherited from cadex::Base_ReaderParameters
bool DelayedConversion () const
 Specifies whether the import should fully complete conversion or defer it This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.See above for non-const method.
 
bool & DelayedConversion ()
 Specifies whether the reader should defer conversion whenever possible or complete it. More...
 
void SetLengthUnit (Base_LengthUnit LengthUnit)
 Sets a unit in which to treat geometric data in file. More...
 
internal::Base_ReaderParametersImpl * Impl () const
 Returns internal implementation object.
 
template<typename T >
T * Impl () const
 Reserved for internal use.
 
const ImplPtrTypeSharedImpl () const
 Reserved for internal use.
 

Additional Inherited Members

- Protected Member Functions inherited from cadex::Base_ReaderParameters
 Base_ReaderParameters (internal::Base_ReaderParametersImpl *theImpl)
 Constructor. More...
 

Detailed Description

Defines parameters of the IGES reader.

Refer to Importer Parameters.

Parameters can be set using IGES_Reader::Parameters().

Member Enumeration Documentation

◆ SurfaceCurveModeType

Specifies preference mode for reading surface curves.

Reserved for future use.

Surface curves are the curves used to trim the surfaces. These include Curve On Surface (IGES type 142) and Boundary (IGES type 141). Surface curves may contain either 3D representation (in model space) or 2D representation (in surface parameter space) or both. The enumeration values define which of these should be preferred.

Enumerator
Auto 

The choice between curve representation is made automatically depennding on various factors (consistency of the representations, preference flag in the IGES file, etc).

Use2d 

2D representation will be used if available in the file.

Use3d 

3D representation will be used if available in the file.

◆ VersionType

Specifies version of IGES reader.

Deprecated:
Deprecated:

Kept for preserving binary compatibility.

Member Function Documentation

◆ Version() [1/2]

IGES_ReaderParameters::VersionType cadex::IGES_ReaderParameters::Version ( ) const

Returns version.

Deprecated:

Kept for preserving binary compatibility. Has no effect.

◆ Version() [2/2]

IGES_ReaderParameters::VersionType & cadex::IGES_ReaderParameters::Version ( )

Sets version.

Deprecated:

Kept for preserving binary compatibility. Has no effect.