Model.createcirclecenterpoint#
- Model.createcirclecenterpoint(point_entity1, point_entity2, point_entity3)#
Creates a point at the center of a circle defined by 3 input points.
- Parameters:
point_entity1 (Entity) – The object describing the first point entity defining the circle.
point_entity2 (Entity) – The object describing the second point entity defining the circle.
point_entity3 (Entity) – The object describing the third point entity defining the circle.
Example#
Create a point at the center of the circle defined by points with IDs 100, 200 and 300#import hm import hm.entities as ent model = hm.Model() model.createcirclecenterpoint( point_entity1=ent.Point(model, 100), point_entity2=ent.Point(model, 200), point_entity3=ent.Point(model, 300), )