| 
            
              RhinoSurfaceGetSurfaceSize Method 
             | 
          
        
         
            Gets an estimate of the size of the rectangle that would be created
            if the 3d surface where flattened into a rectangle.
            
 
    Namespace: 
   Karamba.GHopper.Geometry
    Assembly:
   Karamba3D (in Karamba3D.dll) Version: 2.2.0.5 (2.2.0.5)
Syntaxpublic bool GetSurfaceSize(
	out double width,
	out double height
)
Public Function GetSurfaceSize ( 
	<OutAttribute> ByRef width As Double,
	<OutAttribute> ByRef height As Double
) As Boolean
public:
virtual bool GetSurfaceSize(
	[OutAttribute] double% width, 
	[OutAttribute] double% height
) sealed
abstract GetSurfaceSize : 
        width : float byref * 
        height : float byref -> bool 
override GetSurfaceSize : 
        width : float byref * 
        height : float byref -> bool Parameters
- width
 - Type: SystemDouble
corresponds to the first surface parameter. - height
 - Type: SystemDouble
corresponds to the second surface parameter. 
Return Value
Type: 
Booleantrue if successful.
Implements
ISurfaceGetSurfaceSize(Double, Double)
Examples
            Reparameterize a surface to minimize distortion in the map from parameter space to 3d.
            Surface surf = ...;
            double width, height;
            if ( surf.GetSurfaceSize( out width, out height ) )
            {
              surf.SetDomain( 0, new ON_Interval( 0.0, width ) );
              surf.SetDomain( 1, new ON_Interval( 0.0, height ) );
            }.
            
See Also