Skip to content

Commit

Permalink
face3d n block
Browse files Browse the repository at this point in the history
  • Loading branch information
DomCR committed Mar 5, 2025
1 parent 3a1a4b5 commit e650d2f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion src/ACadSharp/Blocks/Block.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,12 @@ public override CadObject Clone()
return clone;
}

/// <inheritdoc/>
/// <remarks>
/// Block entities don't have any geometric properties.
/// </remarks>
public override void ApplyTransform(Transform transform)
{
throw new System.NotImplementedException();
}

/// <inheritdoc/>
Expand Down
5 changes: 4 additions & 1 deletion src/ACadSharp/Entities/Face3D.cs
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ public override BoundingBox GetBoundingBox()
/// <inheritdoc/>
public override void ApplyTransform(Transform transform)
{
throw new System.NotImplementedException();
this.FirstCorner = transform.ApplyTransform(this.FirstCorner);
this.SecondCorner = transform.ApplyTransform(this.SecondCorner);
this.ThirdCorner = transform.ApplyTransform(this.ThirdCorner);
this.FourthCorner = transform.ApplyTransform(this.FourthCorner);
}
}
}

0 comments on commit e650d2f

Please sign in to comment.