Open CASCADE Technology  6.5.4
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions
IGESDimen_NewDimensionedGeometry Class Reference

defines New Dimensioned Geometry, Type <402>, Form <21>
in package IGESDimen
Links a dimension entity with the geometry entities it
is dimensioning, so that later, in the receiving
database, the dimension can be automatically recalculated
and redrawn should the geometry be changed.

#include <IGESDimen_NewDimensionedGeometry.hxx>

Inheritance diagram for IGESDimen_NewDimensionedGeometry:
Inheritance graph
[legend]

Public Member Functions

 IGESDimen_NewDimensionedGeometry ()
void Init (const Standard_Integer nbDimens, const Handle< IGESData_IGESEntity > &aDimen, const Standard_Integer anOrientation, const Standard_Real anAngle, const Handle< IGESData_HArray1OfIGESEntity > &allEntities, const Handle< TColStd_HArray1OfInteger > &allLocations, const Handle< TColgp_HArray1OfXYZ > &allPoints)
 This method is used to set the fields of the class
NewDimensionedGeometry

Standard_Integer NbDimensions () const
 returns the number of dimensions

Standard_Integer NbGeometries () const
 returns the number of associated geometry entities

Handle_IGESData_IGESEntity DimensionEntity () const
 returns the dimension entity

Standard_Integer DimensionOrientationFlag () const
 returns the dimension orientation flag

Standard_Real AngleValue () const
 returns the angle value

Handle_IGESData_IGESEntity GeometryEntity (const Standard_Integer Index) const
 returns the Index'th geometry entity
raises exception if Index <= 0 or Index > NbGeometries()

Standard_Integer DimensionLocationFlag (const Standard_Integer Index) const
 returns the Index'th geometry entity's dimension location flag
raises exception if Index <= 0 or Index > NbGeometries()

gp_Pnt Point (const Standard_Integer Index) const
 coordinate of point on Index'th geometry entity
raises exception if Index <= 0 or Index > NbGeometries()

gp_Pnt TransformedPoint (const Standard_Integer Index) const
 coordinate of point on Index'th geometry entity after Transformation
raises exception if Index <= 0 or Index > NbGeometries()


Constructor & Destructor Documentation


Member Function Documentation

Handle_IGESData_IGESEntity IGESDimen_NewDimensionedGeometry::DimensionEntity ( ) const
Handle_IGESData_IGESEntity IGESDimen_NewDimensionedGeometry::GeometryEntity ( const Standard_Integer  Index) const
  - nbDimen       : Number of Dimensions, default = 1 <br>
  - aDimen        : Dimension Entity <br>
  - anOrientation : Dimension Orientation Flag <br>
  - anAngle       : Angle Value <br>
  - allEntities   : Geometric Entities <br>
  - allLocations  : Dimension Location Flags <br>
  - allPoints     : Points on the Geometry Entities <br>

exception raised if lengths of entities, locations, points
are not the same


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