Functions | |
def | Angle |
def | AngleLinePlane1 |
def | AngleLinePlane2 |
def | AnglePlanes1 |
def | AnglePlanes2 |
def | Bisector |
def | ClosestPointOnLine |
def | ClosestPointOnPlane1 |
def | ClosestPointOnPlane2 |
def | ClosestPointOnSegment |
def | ClosestPointsBetweenLines |
def | Cross |
def | Distance |
def | DistancePointLine |
def | DistancePointPlane1 |
def | DistancePointPlane2 |
def | DistanceSquared |
def | Dot |
def | EpsilonEquals |
def | FloatEquals |
def | Interpolate |
def | IntersectLinePlane1 |
def | IntersectLinePlane2 |
def | IntersectPlanes2 |
def | IsParallel |
def | IsPerpendicular |
def | Length |
def | LengthSquared |
def | Magnitude |
def | MakePoint |
def | MakePoint3D |
def | Plane1ToPoint |
def | Plane2ToPoint |
def | PointOnLineSegment |
def | PointOnPlane1 |
def | PointOnPlane2 |
def | PointToPlane1 |
def | PointToPlane2 |
def | ScalarProjection |
def | Unit |
def | VectorProjection |
Variables | |
float | DefaultAbsoluteTolerance = 0.0001 |
def Math3D.Angle | ( | arg1, | |
arg2 | |||
) |
Angle( u, v ) == u.Angle( v ) C++ signature : double Angle(Point3D,Point3D)
def Math3D.AngleLinePlane1 | ( | args | ) |
Returns the angle between line ( p, u ) and plane ( q, n ).
def Math3D.AngleLinePlane2 | ( | args | ) |
Similar to AngleLinePlane1 except the plane is defined with two vectors in the plane.
def Math3D.AnglePlanes1 | ( | args | ) |
Returns the angle between plane ( p, u ) and plane ( q, v ).
def Math3D.AnglePlanes2 | ( | args | ) |
Similar to AnglePlanes1 except the planes are defined with two vectors in the plane.
def Math3D.Bisector | ( | arg1, | |
arg2 | |||
) |
Bisector( u, v ) == u.Bisector( v ) C++ signature : Point3D Bisector(Point3D,Point3D)
def Math3D.ClosestPointOnLine | ( | args | ) |
Returns the closest Point3D to p on line ( q, v ).
def Math3D.ClosestPointOnPlane1 | ( | args | ) |
Returns the closest Point3D to p on plane ( q, n ).
def Math3D.ClosestPointOnPlane2 | ( | args | ) |
Similar to ClosestPointOnPlane1 except the plane is defined by two vectors in the plane.
def Math3D.ClosestPointOnSegment | ( | args | ) |
ClosestPointOnSegment(args)
def Math3D.ClosestPointsBetweenLines | ( | args | ) |
Returns the closest Point3D on line ( p, u ) to line ( q, v ) and the closest Point3D on line( q, v ) to line ( p, u ).
def Math3D.Cross | ( | arg1, | |
arg2 | |||
) |
Cross( u, v ) == u.Cross( v ) C++ signature : Point3D Cross(Point3D,Point3D)
def Math3D.Distance | ( | arg1, | |
arg2 | |||
) |
Distance( p, q ) == p.Distance( q ) C++ signature : double Distance(Point3D,Point3D)
def Math3D.DistancePointLine | ( | args | ) |
Returns the distance between between p and line ( q, v ).
def Math3D.DistancePointPlane1 | ( | args | ) |
Returns the distance from p to plane ( q, n ).
def Math3D.DistancePointPlane2 | ( | args | ) |
Similar to DistancePointPlane1 except the plane is defined by two vectors in the plane.
def Math3D.DistanceSquared | ( | arg1, | |
arg2 | |||
) |
DistanceSquared( p, q ) == p.DistanceSquared( q ) C++ signature : double DistanceSquared(Point3D,Point3D)
def Math3D.Dot | ( | arg1, | |
arg2 | |||
) |
Dot( u, v ) == u.Dot( v ) C++ signature : double Dot(Point3D,Point3D)
def Math3D.EpsilonEquals | ( | arg1, | |
arg2, | |||
arg3 | |||
) |
EpsilonEquals( p, q ) == p.EpsilonEquals( q ) C++ signature : bool EpsilonEquals(Point3D,Point3D,double) EpsilonEquals( p, q, e ) == p.EpsilonEquals( q, e ) C++ signature : bool EpsilonEquals(Point3D,Point3D)
def Math3D.FloatEquals | ( | arg1, | |
arg2, | |||
arg3 | |||
) |
FloatEquals == EpsilonEquals C++ signature : bool FloatEquals(Point3D,Point3D [,double])
def Math3D.Interpolate | ( | arg1, | |
arg2, | |||
arg3 | |||
) |
Interpolate( p, q, percent ) == p.Interpolate( q, percent ) C++ signature : Point3D Interpolate(Point3D,Point3D,double)
def Math3D.IntersectLinePlane1 | ( | args | ) |
Returns the intersection of line ( p, u ) and plane ( q, n ) Returns ( p, u ) if the line is in the plane. Returns ( None, None ) if the line does not intersect the plane. Returns ( Point3D, None ) if the line intersects the plane at one point.
def Math3D.IntersectLinePlane2 | ( | args | ) |
Similar to IntersectLinePlane1 except the plane is defined by two vectors in the plane.
def Math3D.IntersectPlanes2 | ( | args | ) |
Returns the intersection of two planes ( p, u, v ) and ( q, s, t ). Returns ( None, None, None ) if the planes don't intersect. Returns ( Point3D, Point3D, None ) if the planes intersect in a line. Returns ( p, u, v ) if the planes intersect in a plane.
def Math3D.IsParallel | ( | arg1, | |
arg2 | |||
) |
IsParallel( u, v ) == u.Parallel( v ) C++ signature : bool IsParallel(Point3D,Point3D) IsParallel( u, v, e ) == u.Parallel( v, e ) C++ signature : bool IsParallel(Point3D,Point3D,double)
def Math3D.IsPerpendicular | ( | arg1, | |
arg2 | |||
) |
IsPerpendicular( u, v ) == u.Perpendicular( v ) C++ signature : bool IsPerpendicular(Point3D,Point3D) IsPerpendicular( u, v, e ) == u.IsPerpendicular( v, e ) C++ signature : bool IsPerpendicular(Point3D,Point3D,double)
def Math3D.Length | ( | arg1 | ) |
Length( v ) == v.Length() C++ signature : double Length(Point3D)
def Math3D.LengthSquared | ( | arg1 | ) |
LengthSquared( v ) == v.LengthSquared() C++ signature : double LengthSquared(Point3D)
def Math3D.Magnitude | ( | arg1 | ) |
Magnitude == Length C++ signature : double Magnitude(Point3D)
def Math3D.MakePoint | ( | arg1 | ) |
Returns a new point.Point object. C++ signature : _object* MakePoint(_object*)
def Math3D.MakePoint3D | ( | arg1 | ) |
Returns a new Point3D object. C++ signature : boost::shared_ptr<Point3D> MakePoint3D(_object*)
def Math3D.Plane1ToPoint | ( | args | ) |
Returns the vector from the plane ( q, n ) to the point p.
def Math3D.Plane2ToPoint | ( | args | ) |
Similar to Plane1ToPoint except the plane is defined by two vectors in the plane.
def Math3D.PointOnLineSegment | ( | args | ) |
Returns True iff p is on the line segment ( l, r ).
def Math3D.PointOnPlane1 | ( | args | ) |
Returns True iff p is on the plane ( q, n ).
def Math3D.PointOnPlane2 | ( | args | ) |
Similar to PointOnPlane1 except the plane is defined with two vectors in the plane.
def Math3D.PointToPlane1 | ( | args | ) |
Returns the vector from p to plane ( q, n ).
def Math3D.PointToPlane2 | ( | args | ) |
Similar to PointToPlane2 except the plane is defined with two vectors in the plane.
def Math3D.ScalarProjection | ( | arg1, | |
arg2 | |||
) |
ScalarProjection( u, v ) == u.ScalarProjection( v ) C++ signature : double ScalarProjection(Point3D,Point3D)
def Math3D.Unit | ( | arg1 | ) |
Unit( v ) == v.Unit() C++ signature : Point3D Unit(Point3D)
def Math3D.VectorProjection | ( | arg1, | |
arg2 | |||
) |
VectorProjection( u, v ) == u.VectorProjection( v ) C++ signature : Point3D VectorProjection(Point3D,Point3D)
float Math3D.DefaultAbsoluteTolerance = 0.0001 |