Rhino C++ API
8.13
|
#include <opennurbs_hatch.h>
Public Types | |
enum | eLoopType { ltOuter = 0, ltInner = 1 } |
Public Member Functions | |
ON_HatchLoop () | |
ON_HatchLoop (const ON_HatchLoop &src) | |
ON_HatchLoop (ON_Curve *pCurve2d, eLoopType type=ltOuter) | |
~ON_HatchLoop () | |
const ON_Curve * | Curve () const |
Interface. More... | |
void | Dump (ON_TextLog &) const |
for debugging More... | |
bool | IsValid (ON_TextLog *text_log=nullptr) const |
ON_HatchLoop & | operator= (const ON_HatchLoop &src) |
bool | Read (ON_BinaryArchive &) |
bool | SetCurve (const ON_Curve &curve) |
void | SetType (eLoopType type) |
eLoopType | Type () const |
bool | Write (ON_BinaryArchive &) const |
Protected Attributes | |
ON_Curve * | m_p2dCurve |
eLoopType | m_type |
loop type flag - inner or outer More... | |
Friends | |
class | ON_Hatch |
Copyright (c) 1993-2022 Robert McNeel & Associates. All rights reserved. OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks 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 openNURBS copyright information see http://www.opennurbs.org. class ON_HatchLoop /////////////////////////////////////////////////////////////// Represents a 3d boundary loop curve
ON_HatchLoop::ON_HatchLoop | ( | ) |
ON_HatchLoop::ON_HatchLoop | ( | const ON_HatchLoop & | src | ) |
ON_HatchLoop::~ON_HatchLoop | ( | ) |
const ON_Curve* ON_HatchLoop::Curve | ( | ) | const |
Interface.
Description: Get a closed 2d curve boundary loop Parameters: Return: Pointer to loop's 2d curve
void ON_HatchLoop::Dump | ( | ON_TextLog & | ) | const |
for debugging
bool ON_HatchLoop::IsValid | ( | ON_TextLog * | text_log = nullptr | ) | const |
ON_HatchLoop& ON_HatchLoop::operator= | ( | const ON_HatchLoop & | src | ) |
bool ON_HatchLoop::Read | ( | ON_BinaryArchive & | ) |
bool ON_HatchLoop::SetCurve | ( | const ON_Curve & | curve | ) |
Description: Specify the 2d loop curve in the hatch's plane coordinates Parameters: curve - [in] 2d input curve Return: true: success, false, curve couldn't be duplicated Remarks: The curve is copied
void ON_HatchLoop::SetType | ( | eLoopType | type | ) |
Description: Specify the type flag of the loop Parameters: type - [in] ltInner or ltOuter
eLoopType ON_HatchLoop::Type | ( | ) | const |
Description: Get the type flag of the loop Returns: eLoopType::ltInner or eLoopType::ltOuter
bool ON_HatchLoop::Write | ( | ON_BinaryArchive & | ) | const |
|
friend |
|
protected |
2d closed curve bounding the hatch This is really a 3d curve with z coordinates = 0
|
protected |
loop type flag - inner or outer