Quantcast
Channel: Rhino Developer - McNeel Forum
Viewing all articles
Browse latest Browse all 8562

Find the faces adjacent to a vertex

$
0
0

@XNurbs wrote:

Given an ON_Point pointer, could you show us how to find the faces adjacent to this vertex in Rhino?

We use the following code to get an ON_Point pointer.

CRhinoObjRef obj_ref = go.Object(0);
// Get the Rhino object’s geometry
const ON_Geometry* geo = obj_ref.Geometry();
const ON_Point* prnPoint = ON_Point::Cast(geo);

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 8562

Trending Articles