Sync changes from upstream repository

Co-authored-by: Andrew Le Bihan <andy@mcneel.com>
Co-authored-by: chuck <chuck@mcneel.com>
Co-authored-by: Dale Fugier <dale@mcneel.com>
Co-authored-by: Dale Lear <dalelear@mcneel.com>
Co-authored-by: David Eränen <david.eranen@mcneel.com>
Co-authored-by: Greg Arden <greg@mcneel.com>
Co-authored-by: John Croudy <john.croudy@mcneel.com>
Co-authored-by: Lowell Walmsley <lowell@mcneel.com>
Co-authored-by: Nathan Letwory <nathan@mcneel.com>
Co-authored-by: piac <giulio@mcneel.com>
Co-authored-by: Steve Baer <steve@mcneel.com>
Co-authored-by: Tim Hemmelman <tim@mcneel.com>
This commit is contained in:
Bozo The Builder
2020-03-12 09:00:26 -07:00
parent acbc998a03
commit 01cdb463e6
50 changed files with 5774 additions and 1857 deletions

View File

@@ -1008,6 +1008,22 @@ void ON_SubDFace::ClearSavedSubdivisionPoints() const
ON_SubDComponentBase::Internal_ClearSubdivisionPointAndSurfacePointFlags();
}
unsigned int ON_SubDVertex::VertexId() const
{
return m_id;
}
unsigned int ON_SubDEdge::EdgeId() const
{
return m_id;
}
unsigned int ON_SubDFace::FaceId() const
{
return m_id;
}
const ON_3dPoint ON_SubDFace::ControlNetCenterPoint() const
{
if (m_edge_count < 3)