Search found 1 match

by Frank Bentz
Mon Oct 21, 2024 6:12 am
Forum: DG Kernel discussions
Topic: Point to face projection
Replies: 1
Views: 2352

Re: Point to face projection

I am pretty sure you need to extract the face as another entity, query its IMetrics_DG and use IMetrics_DG.DistPoint . Details (up to my likely errors): IModel_DG model; IBRepFace theFace; IBRepShape_DG shape = theFace.As<IBRepShape_DG>(); IEntity_DG entityFace = model.AddBRepShape(shape) IMetrics_D...