Rhino C++ API  9.1
Public Member Functions | List of all members
CArgsRhinoSurfaceBlend Class Reference

#include <RhinoSdkBlend.h>

Public Member Functions

 CArgsRhinoSurfaceBlend ()
 
 CArgsRhinoSurfaceBlend (const CArgsRhinoSurfaceBlend &)
 
 ~CArgsRhinoSurfaceBlend ()
 
double Bulge (int side) const
 
int Continuity (int side) const
 
bool InteriorShapes () const
 
CArgsRhinoSurfaceBlend & operator= (const CArgsRhinoSurfaceBlend &)
 
ON_3dVector PlanarSectionDirection () const
 
bool PlanarSections () const
 
bool Refine () const
 
bool SameHeight () const
 
void SetBulge (int side, double bulge)
 
void SetContinuity (int side, int continuity)
 
void SetInteriorShapes (bool bInteriorShapes)
 
void SetPlanarSectionDirection (const ON_3dVector &direction)
 
void SetPlanarSections (bool bPlanarSections)
 
void SetRefine (bool bRefine)
 
void SetSameHeight (bool bSameHeight)
 

Detailed Description

Copyright (c) 1993-2026 Robert McNeel & Associates. All rights reserved. Rhinoceros is a registered trademark of Robert McNeel & Associates.

THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY. ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF MERCHANTABILITY ARE HEREBY DISCLAIMED.

For complete Rhino SDK copyright information see http://www.rhino3d.com/developer. Description: Options for RhinoSdkBlend::SurfaceBlend. The defaults give the result of the BlendSrf command when its dialog is accepted unchanged. Side 0 is the first edge, side 1 the second.

Constructor & Destructor Documentation

◆ CArgsRhinoSurfaceBlend() [1/2]

CArgsRhinoSurfaceBlend::CArgsRhinoSurfaceBlend ( )

◆ ~CArgsRhinoSurfaceBlend()

CArgsRhinoSurfaceBlend::~CArgsRhinoSurfaceBlend ( )

◆ CArgsRhinoSurfaceBlend() [2/2]

CArgsRhinoSurfaceBlend::CArgsRhinoSurfaceBlend ( const CArgsRhinoSurfaceBlend &  )

Member Function Documentation

◆ Bulge()

double CArgsRhinoSurfaceBlend::Bulge ( int  side) const

Returns: Scale factor for the blend's tangent lengths at the side's edge, the Bulge setting of BlendSrf. The default is 1.0.

◆ Continuity()

int CArgsRhinoSurfaceBlend::Continuity ( int  side) const

Returns: Continuity of the blend at the side's edge. 0: position 1: tangency 2: curvature (default) 3: G3 4: G4

◆ InteriorShapes()

bool CArgsRhinoSurfaceBlend::InteriorShapes ( ) const

Returns: True to add blend shapes at the edit points of the edges when the edges are compatible, the Interior shapes setting of BlendSrf. Has no effect when Refine() is true. The default is true.

◆ operator=()

CArgsRhinoSurfaceBlend& CArgsRhinoSurfaceBlend::operator= ( const CArgsRhinoSurfaceBlend &  )

◆ PlanarSectionDirection()

ON_3dVector CArgsRhinoSurfaceBlend::PlanarSectionDirection ( ) const

Returns: Direction the planar sections are parallel to. Used only when PlanarSections() is true. The default is the world z axis.

◆ PlanarSections()

bool CArgsRhinoSurfaceBlend::PlanarSections ( ) const

Returns: True if every blend shape lies in a plane parallel to PlanarSectionDirection(), the Planar sections setting of BlendSrf. The default is false.

◆ Refine()

bool CArgsRhinoSurfaceBlend::Refine ( ) const

Returns: True to fit the blend to tolerance instead of making the simple blend that compatible edges allow, the Refine setting of BlendSrf. The default is false.

◆ SameHeight()

bool CArgsRhinoSurfaceBlend::SameHeight ( ) const

Returns: True to give every blend shape the height of a shape spanning the average of the gaps at the two ends of the blend, the Same height setting of BlendSrf. The default is false.

◆ SetBulge()

void CArgsRhinoSurfaceBlend::SetBulge ( int  side,
double  bulge 
)

Parameters: bulge - [in] Must be greater than zero. Other values leave the setting unchanged.

◆ SetContinuity()

void CArgsRhinoSurfaceBlend::SetContinuity ( int  side,
int  continuity 
)

Parameters: continuity - [in] 0 to 4. Other values are clamped to that range.

◆ SetInteriorShapes()

void CArgsRhinoSurfaceBlend::SetInteriorShapes ( bool  bInteriorShapes)

◆ SetPlanarSectionDirection()

void CArgsRhinoSurfaceBlend::SetPlanarSectionDirection ( const ON_3dVector &  direction)

Parameters: direction - [in] A zero or invalid vector leaves the setting unchanged.

◆ SetPlanarSections()

void CArgsRhinoSurfaceBlend::SetPlanarSections ( bool  bPlanarSections)

◆ SetRefine()

void CArgsRhinoSurfaceBlend::SetRefine ( bool  bRefine)

◆ SetSameHeight()

void CArgsRhinoSurfaceBlend::SetSameHeight ( bool  bSameHeight)