Home
Reply
Visitor
ErikHultgren
Posts: 4

How can I get the "geometry" displayed by cutting plane intersections?

I've had customers ask how they can get access to the geometry displayed by a HOOPS cutting plane as it intersects geometric objects. 

 

HOOPS provides a function that will return you a HC_KEY for the cutting plane geometry:

 

void HImCuttingGeometry::CreateCuttingGeometry(HC_KEY source_key, HC_KEY target_key, bool honor_modelling_matrices)


It retrieves all capping geometry below the source_key and dumps it into the target_key. If the final argument is true, modelling matrices will be applied to the resultant geometry in order to move them to the same location in world space as their sources.

 

Spatial Employee
RTadlock
Posts: 40

Re: How can I get the "geometry" displayed by cutting plane intersections?