File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
TriangleNet_Engine/Compute/Representation/GeometricalRepresentation/Element0D/Structure Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ public static IGeometry GeometricalRepresentation(this Node node, Representation
59
59
}
60
60
61
61
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.
63
63
64
64
// -------------------------------------------- //
65
65
// -------- Compute the representation -------- //
@@ -93,7 +93,7 @@ public static IGeometry GeometricalRepresentation(this Node node, Representation
93
93
94
94
CompositeGeometry compositeGeometry = new CompositeGeometry ( ) ;
95
95
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 ) ;
97
97
compositeGeometry . Elements . Add ( sphere ) ;
98
98
99
99
double coneHeight = 4 * radius ;
You can’t perform that action at this time.
0 commit comments