Returns the point halfway between p1 and p2.
midPoint ( p1 As Point, _ p2 As Point ) As Point
Argument | Type | Description |
---|---|---|
p1 | Point | First point . |
p2 | Point | Second point . |
Intent >midPoint(point(0,0,0), point(1,0,0)) --> Point_(0.5, 0.0, 0.0, WorldFrame())
Intent >midPoint(point(0,0,0), point(0,0,0)) --> Point_(0.0, 0.0, 0.0, WorldFrame())Coincident points do not raise an error.