Open CASCADE Technology 6.6.0
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

IGESDimen_NewDimensionedGeometry::IGESDimen_NewDimensionedGeometry ( )

Member Function Documentation

Standard_Real IGESDimen_NewDimensionedGeometry::AngleValue ( ) const
Handle_IGESData_IGESEntity IGESDimen_NewDimensionedGeometry::DimensionEntity ( ) const
Standard_Integer IGESDimen_NewDimensionedGeometry::DimensionLocationFlag ( const Standard_Integer  Index) const
Standard_Integer IGESDimen_NewDimensionedGeometry::DimensionOrientationFlag ( ) const
Handle_IGESData_IGESEntity IGESDimen_NewDimensionedGeometry::GeometryEntity ( const Standard_Integer  Index) const
void IGESDimen_NewDimensionedGeometry::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 
)
  • nbDimen : Number of Dimensions, default = 1
  • aDimen : Dimension Entity
  • anOrientation : Dimension Orientation Flag
  • anAngle : Angle Value
  • allEntities : Geometric Entities
  • allLocations : Dimension Location Flags
  • allPoints : Points on the Geometry Entities
    exception raised if lengths of entities, locations, points
    are not the same
Standard_Integer IGESDimen_NewDimensionedGeometry::NbDimensions ( ) const
Standard_Integer IGESDimen_NewDimensionedGeometry::NbGeometries ( ) const
gp_Pnt IGESDimen_NewDimensionedGeometry::Point ( const Standard_Integer  Index) const
gp_Pnt IGESDimen_NewDimensionedGeometry::TransformedPoint ( const Standard_Integer  Index) const

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines