Autodesk.Revit.DB.EdgeEndPoint是Revit API中的一种类,用于表示边缘的端点。
EdgeEndpoint endpoint1 = new EdgeEndpoint(edge1, face1, 0.5);
EdgeEndpoint endpoint2 = new EdgeEndpoint(edge2, face2, 0.2);
if(endpoint1.DistanceTo(somePoint) < endpoint2.DistanceTo(somePoint))
{
// Do something
}
if(endpoint1.IsEqualTo(endpoint2))
{
// Do something
}
if(endpoint1.IsSharpCorner())
{
// Do something
}