Line(...)

Objects derived from the _Line abstract class, representing an infinite line in space.


def Line

constructors:
returns:

the line uniquely determined by its arguments

class LinefromPoints

constructors:
  • Line(point1,point2)
  • LinefromPoints(point1,point2)
returns:

the line connecting the point arguments

site ref:

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

class PlanePerp

constructors:
  • Line(plane,point)
  • PlanePerp(plane,point)
returns:

The line perpendicular to the given plane and through the given point. See PlaneFoot

conditions:

point not on plane

else returns:

None

site ref:

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

class PlanesLine

constructors:
  • Line(plane1,plane2)
  • PlanesLine(plane1,plane2)
returns:

the line determined by the intersection of the given plane arguments.

conditions:

planes not parallel

else returns:

None

site ref:

http://mathworld.wolfram.com/Plane-PlaneIntersection.html

class ParaLine

constructors:
  • Line(point,line)
  • ParaLine(point,line)
returns:

The line parallel to the given line, through the given point, on the plane of the point and the line.

site ref:

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

class NearLine

constructors:
  • Line(line1,line2)
  • NearLine(line1,line2)
returns:

The line connecting the nearest points of the given skew lines

conditions:

lines are not coincident, lines do not intersect

else returns:

None

site ref:

http://sun.uni-regensburg.de/idl-5.5/html/idl4/jhuapl.doc/vectors/v_skew.html

class Transversal

constructors:
  • Line(line1,line2,point)
  • Transversal((line1,line2,point)
returns:

the line through the given point and intersecting the given lines

site ref:

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

class ConicPolar

constructors:
  • Line(conic,point)
  • Line(conic,point,chord=True)
  • ConicPolar(conic,point)
  • ConicPolar(conic,point,chord=True)
returns:

the polar of the point with respect to the conic, if chord=true then the line.p1 and line.p2 are the points of intersection of the polar and the conic

conditions:

if chord = True, then point exterior to conic

else returns:

None

site ref:

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

class CirclePolar

constructors:
  • Line(circle,point)
  • Line(circle,point,chord=True)
  • CirclePolar(circle,point)
  • CirclePolar(circle,point,chord=True)
returns:

the polar of the given point with the respect to the given circle. if keyword chord=True, the line p1 and p2 are the points on circle of lines through point argument tangent to the circle

condition:

point and circle are coplanar

else returns:

None

site ref:

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

class LinePerp

constructors:
  • Line(point1,point2,point3)
  • LinePerp(point1,point2,point3)
returns:

The line through point 2 perpendicular to the line through point1 and point 2, on the plane determined by the 3 given points

condition:

point and circle are coplanar

else returns:

None

site ref:

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