Rhino C++ API
8.10
|
#include <rhinoSdkGetRevolve.h>
Public Member Functions | |
CArgsRhinoRevolve () | |
~CArgsRhinoRevolve () | |
void | AddInputCurve (CRhinoObject *pCrv) |
void | AddProfile (ON_Curve *pCrv) |
ON_Line & | Axis () |
int | DeformablePointCount () |
bool | DeleteInput () const |
ON_Interval | Domain () const |
double | EndAngle () const |
int | InputCount () const |
CRhinoObject * | InputCurve (int index) const |
bool | IsDeformable () |
ON_Curve * | Profile (int index) |
int | ProfileCount () |
void | RemoveProfile (int i) |
next 2 functions added Aug 27 2008 - LW More... | |
void | ReplaceProfile (int i, ON_Curve *pCrv) |
void | SetAxis (ON_Line &axis) |
void | SetDeformable (bool b=true) |
void | SetDeformablePointCount (int count=5) |
void | SetDeleteInput (bool del=true) |
void | SetDomain (ON_Interval &domain) |
void | SetEndAngle (double endangle) |
void | SetStartAngle (double startangle) |
void | SetTrimToAxis (bool b=true) |
double | StartAngle () const |
bool | TrimToAxis () |
Protected Attributes | |
ON_Line | m_axis = ON_Line::UnsetLine |
bool | m_bDeformable = false |
bool | m_bDeleteInput = false |
bool | m_bTrimToAxis = true |
int | m_deformable_point_count = 4 |
ON_Interval | m_domain |
angular domain in radians More... | |
ON_SimpleArray< CRhinoObject * > | m_input_curves |
ON_SimpleArray< ON_Curve * > | m_profiles |
Copyright (c) 1993-2017 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.
CArgsRhinoRevolve::CArgsRhinoRevolve | ( | ) |
CArgsRhinoRevolve::~CArgsRhinoRevolve | ( | ) |
void CArgsRhinoRevolve::AddInputCurve | ( | CRhinoObject * | pCrv | ) |
Description: Add, count, and retrieve pointers to the input curves Parameters: pCrv [in] - curve pointer to store index [in] - index of the curve to retrieve Returns: Pointer to the specified curve or Number of curves stored
void CArgsRhinoRevolve::AddProfile | ( | ON_Curve * | pCrv | ) |
ON_Line& CArgsRhinoRevolve::Axis | ( | ) |
int CArgsRhinoRevolve::DeformablePointCount | ( | ) |
bool CArgsRhinoRevolve::DeleteInput | ( | ) | const |
ON_Interval CArgsRhinoRevolve::Domain | ( | ) | const |
Description: Set or get the angular domain for the revolve Parameters: domain [in] - new domain to set Returns: The current domain
double CArgsRhinoRevolve::EndAngle | ( | ) | const |
int CArgsRhinoRevolve::InputCount | ( | ) | const |
CRhinoObject* CArgsRhinoRevolve::InputCurve | ( | int | index | ) | const |
bool CArgsRhinoRevolve::IsDeformable | ( | ) |
Description: Set or get the deformable surface option settings for the revolved surface Parameters: count [in] - number of cv's to use in deformable surfaces Returns: @untitled table true Make surface deformable false Make surface exact The number of points for deformable surfaces Remarks: If the number of points is 0, its exact
ON_Curve* CArgsRhinoRevolve::Profile | ( | int | index | ) |
int CArgsRhinoRevolve::ProfileCount | ( | ) |
Description: Count, add or get profile curves for the revolve Parameters: pCrv [in] - pointer to a curve to add to the profile array index [in] - index in the profile array of the curve to return Returns: Pointer to the specified profile curve or NULL if the index is invalid
void CArgsRhinoRevolve::RemoveProfile | ( | int | i | ) |
next 2 functions added Aug 27 2008 - LW
void CArgsRhinoRevolve::ReplaceProfile | ( | int | i, |
ON_Curve * | pCrv | ||
) |
void CArgsRhinoRevolve::SetAxis | ( | ON_Line & | axis | ) |
Description: Set or get the revolve axis Parameters: axis [in] - a line on the axis Returns: a line on the axis
void CArgsRhinoRevolve::SetDeformable | ( | bool | b = true | ) |
void CArgsRhinoRevolve::SetDeformablePointCount | ( | int | count = 5 | ) |
void CArgsRhinoRevolve::SetDeleteInput | ( | bool | del = true | ) |
Description: Set or get whether or not input profiles should be deleted. Parameters: del [in] - true: delete input, false: don't delete Returns: @untitled table true Delete input False Don't delete input
void CArgsRhinoRevolve::SetDomain | ( | ON_Interval & | domain | ) |
void CArgsRhinoRevolve::SetEndAngle | ( | double | endangle | ) |
void CArgsRhinoRevolve::SetStartAngle | ( | double | startangle | ) |
void CArgsRhinoRevolve::SetTrimToAxis | ( | bool | b = true | ) |
Description: Get or set if profiles should be trimmed to the revolve axis Parameters: b [in] - true: trim the profiles, false: don't trim the profiles Returns: @untitled table true Do trim False Don't trim
double CArgsRhinoRevolve::StartAngle | ( | ) | const |
Description: Get or set the start or end angles of the domain Parameters: startangle, endangle [in] - angle to set Returns: Current start or end angle See Also: Domain(), SetDomain()
bool CArgsRhinoRevolve::TrimToAxis | ( | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
angular domain in radians
|
protected |
|
protected |