Skip to content

Commit c46ad26

Browse files
IsakNaslundBhFraser Greenroyd
authored andcommitted
Align with changes in Structure_Engine
1 parent 2381c63 commit c46ad26

File tree

1 file changed

+2
-2
lines changed
  • TriangleNet_Engine/Compute/Representation/GeometricalRepresentation/Element0D/Structure

1 file changed

+2
-2
lines changed

TriangleNet_Engine/Compute/Representation/GeometricalRepresentation/Element0D/Structure/Node.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public static IGeometry GeometricalRepresentation(this Node node, Representation
5959
}
6060

6161
if (node.Support == null || !reprOptions.Detailed0DElements) // If there is no support information, or by choice...
62-
return BH.Engine.Structure.Query.Position(node); // ...just return the representation for the point.
62+
return node.Position; // ...just return the representation for the point.
6363

6464
// -------------------------------------------- //
6565
// -------- Compute the representation -------- //
@@ -93,7 +93,7 @@ public static IGeometry GeometricalRepresentation(this Node node, Representation
9393

9494
CompositeGeometry compositeGeometry = new CompositeGeometry();
9595

96-
Sphere sphere = BH.Engine.Geometry.Create.Sphere(BH.Engine.Structure.Query.Position(node), radius);
96+
Sphere sphere = BH.Engine.Geometry.Create.Sphere(node.Position, radius);
9797
compositeGeometry.Elements.Add(sphere);
9898

9999
double coneHeight = 4 * radius;

0 commit comments

Comments
 (0)