mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-11 16:19:17 +05:00
21854: Add persistent dimensions
- Minor fixes for diameter dimensions construction; images for documentation.
This commit is contained in:
parent
2ed15de5a1
commit
f7284cdba3
BIN
doc/salome/gui/GEOM/images/interact_with_dimensions.png
Normal file
BIN
doc/salome/gui/GEOM/images/interact_with_dimensions.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
BIN
doc/salome/gui/GEOM/images/manage_dimensions.png
Normal file
BIN
doc/salome/gui/GEOM/images/manage_dimensions.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 27 KiB |
@ -531,7 +531,10 @@ Handle(AIS_DiameterDimension) MeasureGUI_DimensionCreateTool::Diameter( const GE
|
||||
// get arguments of closed/opened cylinder
|
||||
if ( aSurf.GetType() == GeomAbs_Cylinder )
|
||||
{
|
||||
Handle(Geom_Curve) aCurve = aSurf.Surface().Surface()->VIso( (aVmax + aVmin) * 0.5 );
|
||||
Handle(Geom_Surface) aBasisSurface = Handle(Geom_Surface)::DownCast(
|
||||
aSurf.Surface().Surface()->Transformed( aSurf.Trsf() ) );
|
||||
|
||||
Handle(Geom_Curve) aCurve = aBasisSurface->VIso( (aVmax + aVmin) * 0.5 );
|
||||
|
||||
if ( aCurve->IsKind( STANDARD_TYPE( Geom_Circle ) ) )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user