Bcc.IntersectBetween2Entities(IsOnlyRealIntersectionPnts, {Entity1}, {Entity2})

Description

This function finds all of the intersection points between two entities

Parameters


  • IsOnlyRealIntersectionPnts – boolean value representing whether the entities should be extended to find intersections
    • true - only actual intersections between the entities will be returned
    • false - entities will be extended and any intersections that occur from the extended geometry will be returned
  • Entity1 - table providing the first entity definition
  • Entity2 - table providing the second entity definition

Return

Returns a Points list containing all intersections between the input entities.

Examples


-- Create 2 line entities

line1 = { EntityType="Line", StartPoint={0,0,0}, EndPoint={0,25,0}}

line2 = { EntityType="Line", StartPoint={-25,10,0}, EndPoint={25,10,0}}


-- Find the resulting intersections between the two lines

retList = Bcc.IntersectBetween2Entities(true,line1,line2)