Sync changes from upstream repository

Co-authored-by: croudyj <croudyj@gmail.com>
Co-authored-by: Dale Fugier <dale@mcneel.com>
Co-authored-by: Dale Lear <dalelear@mcneel.com>
Co-authored-by: Greg Arden <greg@mcneel.com>
Co-authored-by: jlasor <jeff@mcneel.com>
Co-authored-by: Joshua Kennedy <joshuakennedy102@gmail.com>
Co-authored-by: Pierre Cuvilliers <pierre@mcneel.com>
Co-authored-by: Steve Baer <steve@mcneel.com>
This commit is contained in:
Bozo The Builder
2023-05-19 16:14:53 -07:00
parent 2d71f42b17
commit 24b8c988cc
49 changed files with 2582 additions and 893 deletions

View File

@@ -373,7 +373,13 @@ public:
void SetClipParticipationForNone();
// Set the object to only be clipped by a specific set of clipping planes.
void SetClipParticipationList(const ON_UUID* clippingPlaneIds, int count);
// Paramters:
// clippingPlaneIds [in] - array of ON_UUIDs for clipping planes
// count [in] - number of elements in clippingPlaneIds
// listIsParticipation [in] - is the list clipping planes that the object
// participates with or an exclusion list of clipping planes to not
// participate with
void SetClipParticipationList(const ON_UUID* clippingPlaneIds, int count, bool listIsParticipation);
// Get details on how the object will interact with clipping planes
// Parameters:
@@ -384,10 +390,13 @@ public:
// specificClipplaneList [out] - if the object interacts with only a
// specific set of clipping planes, this list will have the uuids of
// those clipping plane objects
// listIsParticipation [out] - is specificClipplaneList a participation
// list or an exclusion list
void GetClipParticipation(
bool& forAllClippingPlanes,
bool& forNoClippingPlanes,
ON_UuidList& specificClipplaneList) const;
ON_UuidList& specificClipplaneList,
bool& listIsParticipation) const;
// Source for clip participation details
ON::ClipParticipationSource ClipParticipationSource() const;
@@ -461,6 +470,8 @@ public:
void SetHatchBoundaryVisible(bool on);
#pragma endregion
ON::SectionLabelStyle ClippingPlaneLabelStyle() const;
void SetClippingPlaneLabelStyle(ON::SectionLabelStyle style);
ON_Plane ObjectFrame(const ON_COMPONENT_INDEX& ci) const;
void SetObjectFrame(const ON_COMPONENT_INDEX& ci, const ON_Xform& wcs_to_ocs);