Rhino C++ API
8.13
|
#include <rhinoSdkGetArc.h>
Public Types | |
enum | eArcMode { center_start_end, center_start_angle, start_mid_end, start_end_mid, start_end_dir, start_dir_end, start_end_radius, tan_tan_tan, curve_end, center_mid_end, center_mid_angle } |
current arc mode of GetArc functions More... | |
Public Member Functions | |
CArgsRhinoGetArc () | |
CArgsRhinoGetArc (const CArgsRhinoGetArc &) | |
~CArgsRhinoGetArc () | |
BOOL32 | AcceptNumber () const |
BOOL32 | AllowDeformable () const |
const double | Angle () const |
eArcMode | ArcMode () const |
const ON_wString & | CenterPrompt () const |
const double | DefaultRadius () const |
BOOL32 | Deformable () const |
int | Degree () const |
int | Dir () const |
const ON_wString & | DirectionPrompt () const |
const ON_wString & | EndAnglePrompt () const |
const ON_wString & | EndPrompt () const |
const ON_3dVector & | Normal () const |
CArgsRhinoGetArc & | operator= (const CArgsRhinoGetArc &) |
const ON_3dPoint & | Point1 () const |
const ON_3dPoint & | Point2 () const |
const ON_3dPoint & | Point3 () const |
int | PointCount () const |
const ON_wString & | PointOnArcPrompt () const |
int | Quadrant () const |
const ON_wString & | RadiusPrompt () const |
void | SetAcceptNumber (BOOL32=TRUE) |
Set whether the last prompt accepts a number or not. Used in center_start_end. More... | |
void | SetAllowDeformable (BOOL32 b=TRUE) |
void | SetAngle (double) |
The current arc angle in center_start_angle. More... | |
void | SetArcMode (eArcMode=start_end_mid) |
Set the arc mode. More... | |
void | SetCenterPrompt (const wchar_t *) |
void | SetDefaultRadius (double) |
The default radius in start_end_radius. More... | |
void | SetDeformable (BOOL32 bDeformable=TRUE) |
void | SetDegree (int degree) |
void | SetDir (int) |
The current arc direction in center_start_end. More... | |
void | SetDirectionPrompt (const wchar_t *) |
void | SetEndAnglePrompt (const wchar_t *) |
void | SetEndPrompt (const wchar_t *) |
void | SetNormal (const ON_3dVector &) |
The current arc normal in center_start_end. More... | |
void | SetPoint1 (const ON_3dPoint &) |
Set the first point to use instead of asking for one. More... | |
void | SetPoint2 (const ON_3dPoint &) |
Set the second point to use instead of asking for one. More... | |
void | SetPoint3 (const ON_3dPoint &) |
Set the third point to use instead of asking for one. More... | |
void | SetPointCount (int count) |
void | SetPointOnArcPrompt (const wchar_t *) |
void | SetQuadrant (int) |
The current third point quadrant in center_start_end. More... | |
void | SetRadiusPrompt (const wchar_t *) |
void | SetStartPrompt (const wchar_t *) |
void | SetUseActiveLayerLinetype (bool on) |
When true the linetype of the active layer is used for dynamic drawing. More... | |
void | SetUsePoint3 (BOOL32=TRUE) |
const ON_wString & | StartPrompt () const |
bool | UseActiveLayerLinetype () const |
BOOL32 | UsePoint1 () const |
BOOL32 | UsePoint2 () const |
BOOL32 | UsePoint3 () const |
Protected Attributes | |
BOOL32 | m_allow_deformable |
double | m_angle |
[internal] the arc angle, used in center_start_angle More... | |
BOOL32 | m_bAcceptNumber |
[i] if true, the last prompt accept number. Needed for center_start_end/angle More... | |
BOOL32 | m_bUsePoint1 |
[i] use m_point1 instead of asking for point More... | |
BOOL32 | m_bUsePoint2 |
[i] use m_point2 instead of asking for point More... | |
BOOL32 | m_bUsePoint3 |
[i] use m_point3 instead of asking for point More... | |
double | m_dDefaultRadius |
[i/o] default radius for Start_End_Radius More... | |
BOOL32 | m_deformable |
int | m_degree |
int | m_dir |
[internal] previous arc direction. Needed for center_start_end/angle More... | |
eArcMode | m_mode |
[internal] Current mode while drawing the arc More... | |
ON_3dVector | m_normal |
[i] the arc normal. Needed for center_start_end/angle More... | |
ON_3dPoint | m_point1 |
[i] if m_bHavePoint1 first point specified here More... | |
ON_3dPoint | m_point2 |
[i] if m_bHavePoint2 second point specified here More... | |
ON_3dPoint | m_point3 |
[i] if m_bHavePoint3 third point specified here More... | |
int | m_point_count |
int | m_quadrant |
[internal] previous quadrant for last point. Needed for center_start_end/angle More... | |
ON_wString | m_sCenterPrompt |
ON_wString | m_sDirectionPrompt |
ON_wString | m_sEndAnglePrompt |
ON_wString | m_sEndPrompt |
ON_wString | m_sPointOnArcPrompt |
ON_wString | m_sRadiusPrompt |
ON_wString | m_sStartPrompt |
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.
CLASS CArgsRhinoGetArc
OVERVIEW TEXT Arguments for GetArc... functions
KEYWORDS
CArgsRhinoGetArc::CArgsRhinoGetArc | ( | ) |
CArgsRhinoGetArc::~CArgsRhinoGetArc | ( | ) |
CArgsRhinoGetArc::CArgsRhinoGetArc | ( | const CArgsRhinoGetArc & | ) |
BOOL32 CArgsRhinoGetArc::AcceptNumber | ( | ) | const |
BOOL32 CArgsRhinoGetArc::AllowDeformable | ( | ) | const |
const double CArgsRhinoGetArc::Angle | ( | ) | const |
eArcMode CArgsRhinoGetArc::ArcMode | ( | ) | const |
const ON_wString& CArgsRhinoGetArc::CenterPrompt | ( | ) | const |
const double CArgsRhinoGetArc::DefaultRadius | ( | ) | const |
BOOL32 CArgsRhinoGetArc::Deformable | ( | ) | const |
int CArgsRhinoGetArc::Degree | ( | ) | const |
int CArgsRhinoGetArc::Dir | ( | ) | const |
const ON_wString& CArgsRhinoGetArc::DirectionPrompt | ( | ) | const |
const ON_wString& CArgsRhinoGetArc::EndAnglePrompt | ( | ) | const |
const ON_wString& CArgsRhinoGetArc::EndPrompt | ( | ) | const |
const ON_3dVector& CArgsRhinoGetArc::Normal | ( | ) | const |
CArgsRhinoGetArc& CArgsRhinoGetArc::operator= | ( | const CArgsRhinoGetArc & | ) |
const ON_3dPoint& CArgsRhinoGetArc::Point1 | ( | ) | const |
const ON_3dPoint& CArgsRhinoGetArc::Point2 | ( | ) | const |
const ON_3dPoint& CArgsRhinoGetArc::Point3 | ( | ) | const |
int CArgsRhinoGetArc::PointCount | ( | ) | const |
const ON_wString& CArgsRhinoGetArc::PointOnArcPrompt | ( | ) | const |
int CArgsRhinoGetArc::Quadrant | ( | ) | const |
const ON_wString& CArgsRhinoGetArc::RadiusPrompt | ( | ) | const |
void CArgsRhinoGetArc::SetAcceptNumber | ( | BOOL32 | = TRUE | ) |
Set whether the last prompt accepts a number or not. Used in center_start_end.
void CArgsRhinoGetArc::SetAllowDeformable | ( | BOOL32 | b = TRUE | ) |
void CArgsRhinoGetArc::SetAngle | ( | double | ) |
The current arc angle in center_start_angle.
void CArgsRhinoGetArc::SetArcMode | ( | eArcMode | = start_end_mid | ) |
Set the arc mode.
void CArgsRhinoGetArc::SetCenterPrompt | ( | const wchar_t * | ) |
void CArgsRhinoGetArc::SetDefaultRadius | ( | double | ) |
The default radius in start_end_radius.
void CArgsRhinoGetArc::SetDeformable | ( | BOOL32 | bDeformable = TRUE | ) |
void CArgsRhinoGetArc::SetDegree | ( | int | degree | ) |
void CArgsRhinoGetArc::SetDir | ( | int | ) |
The current arc direction in center_start_end.
void CArgsRhinoGetArc::SetDirectionPrompt | ( | const wchar_t * | ) |
void CArgsRhinoGetArc::SetEndAnglePrompt | ( | const wchar_t * | ) |
void CArgsRhinoGetArc::SetEndPrompt | ( | const wchar_t * | ) |
void CArgsRhinoGetArc::SetNormal | ( | const ON_3dVector & | ) |
The current arc normal in center_start_end.
void CArgsRhinoGetArc::SetPoint1 | ( | const ON_3dPoint & | ) |
Set the first point to use instead of asking for one.
void CArgsRhinoGetArc::SetPoint2 | ( | const ON_3dPoint & | ) |
Set the second point to use instead of asking for one.
void CArgsRhinoGetArc::SetPoint3 | ( | const ON_3dPoint & | ) |
Set the third point to use instead of asking for one.
void CArgsRhinoGetArc::SetPointCount | ( | int | count | ) |
void CArgsRhinoGetArc::SetPointOnArcPrompt | ( | const wchar_t * | ) |
void CArgsRhinoGetArc::SetQuadrant | ( | int | ) |
The current third point quadrant in center_start_end.
void CArgsRhinoGetArc::SetRadiusPrompt | ( | const wchar_t * | ) |
void CArgsRhinoGetArc::SetStartPrompt | ( | const wchar_t * | ) |
void CArgsRhinoGetArc::SetUseActiveLayerLinetype | ( | bool | on | ) |
When true the linetype of the active layer is used for dynamic drawing.
void CArgsRhinoGetArc::SetUsePoint3 | ( | BOOL32 | = TRUE | ) |
const ON_wString& CArgsRhinoGetArc::StartPrompt | ( | ) | const |
bool CArgsRhinoGetArc::UseActiveLayerLinetype | ( | ) | const |
BOOL32 CArgsRhinoGetArc::UsePoint1 | ( | ) | const |
BOOL32 CArgsRhinoGetArc::UsePoint2 | ( | ) | const |
BOOL32 CArgsRhinoGetArc::UsePoint3 | ( | ) | const |
|
protected |
|
protected |
[internal] the arc angle, used in center_start_angle
|
protected |
[i] if true, the last prompt accept number. Needed for center_start_end/angle
|
protected |
[i] use m_point1 instead of asking for point
|
protected |
[i] use m_point2 instead of asking for point
|
protected |
[i] use m_point3 instead of asking for point
|
protected |
[i/o] default radius for Start_End_Radius
|
protected |
|
protected |
|
protected |
[internal] previous arc direction. Needed for center_start_end/angle
|
protected |
[internal] Current mode while drawing the arc
|
protected |
[i] the arc normal. Needed for center_start_end/angle
|
protected |
[i] if m_bHavePoint1 first point specified here
|
protected |
[i] if m_bHavePoint2 second point specified here
|
protected |
[i] if m_bHavePoint3 third point specified here
|
protected |
|
protected |
[internal] previous quadrant for last point. Needed for center_start_end/angle
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |