Center(....)

Objects derived from the _Point abstract class, with its position in space determined as a geometric center of a given geometric object


def Center

constructors:
returns:

a point instance determined as a geometric center in reference to its arguments

site ref:

http://www.geocities.com/kiranisingh/center.html

class CircumCenter

constructors:
  • Center(point1, point2, point3 )
  • Center(point1, point2, point3, CIRCUM)
  • Center(triangle)
  • Center(triangle, CIRCUM)
  • CircumCente(point1, point2, point3 )
  • CircumCenter(triangle)
returns:

the circumcenter (center of the circumcircle) of a triangle.

conditions:

points distinct

else returns:

undefined

site ref:

http://mathworld.wolfram.com/Circumcenter.html

class OrthoCenter

constructors:
  • Center(point1, point2, point3, ORTHO)
  • Center(triangle, ORTHO)
  • OrthoCenter(point1, point2, point3)
  • OrthoCenter(triangle)
returns:

the orthocenter (intersection of the three altitude s), of a triangle

conditions:

points distinct

else returns:

undefined

site ref:

http://mathworld.wolfram.com/Orthocenter.html

class Centroid

constructors:
  • Center(point1, point2, point3, CENTROID):
  • Center(triangle. CENTROID):
  • Centroid(point1, point2, point3):
  • Centroid(triangle):
conditions:

points distinct

else returns:

the LineDivider with ratio=1/3

returns:

the triangle centroid (center of mass) of a triangle

site ref:

http://mathworld.wolfram.com/TriangleCentroid.html

class InCenter

constructors:
  • Center(point1, point2, point3,INCENTER)
  • Center(triangle, INCENTER)
  • InCenter(point1, point2, point3)
  • InCenter(triangle)
returns:

the incenter, (center of the incircle ) of a triangle

conditions:

points distinct

else returns:

undefined

site ref:

http://mathworld.wolfram.com/Incenter.html

class ExCenter

constructors:
  • Center(point1, point2, point3, EXCENTER) #order significant
  • Center(triangle, ExCENTER) #triangle vertex order significant
  • ExCenter(point1, point2, point3) #order significant
  • ExCenter(triangle) #triangle vertex order significant
returns:

an excenter, (center of one of the 3 excircle s) of a triangle

conditions:

points distinct

else returns:

undefined

site ref:

http://mathworld.wolfram.com/Excenter.html

class TetraCenter

constructors:
  • Center(point1, point2, point3,point4)
  • TetraCenter(point1, point2, point3,point4)
returns:

the center of circumsphere of the (possibly irregular) tetrahedron defined by four points

conditions:

points distinct

else returns:

undefined

site ref:

http://astronomy.swin.edu.au/~pbourke/geometry/spherefrom4/