Two-dimensional entities¶
-
class
geom.Surface2d¶ Bases:
geom.GeomObj2d
-
class
geom.HalfPlane2d¶ Bases:
geom.Surface2d
-
class
geom.BND2d¶ Bases:
geom.GeomObj2d-
area¶ returns object area.
-
diagonal¶ returns a vector from PMin to PMax.
-
getCenterOfMass((BND2d)arg1) → Pos2d :¶ - C++ signature :
- Pos2d getCenterOfMass(BND2d {lvalue})
-
getIx((BND2d)arg1) → float :¶ - C++ signature :
- double getIx(BND2d {lvalue})
-
getIy((BND2d)arg1) → float :¶ - C++ signature :
- double getIy(BND2d {lvalue})
-
getMax((BND2d)arg1, (int)arg2) → float :¶ returns maximum value of i coordinate.
- C++ signature :
- double getMax(BND2d {lvalue},unsigned short)
-
getMin((BND2d)arg1, (int)arg2) → float :¶ return minimum value of i coordinate.
- C++ signature :
- double getMin(BND2d {lvalue},unsigned short)
-
getPxy((BND2d)arg1) → float :¶ - C++ signature :
- double getPxy(BND2d {lvalue})
-
height¶ returns object height.
-
length¶ returns object length.
-
pMax¶ upper right corner.
-
pMin¶ lower left corner.
-
update((BND2d)arg1, (Pos2d)arg2) → None :¶ - C++ signature :
- void update(BND2d {lvalue},Pos2d)
-
volume¶ returns object volume.
-
width¶ returns object width.
-
-
class
geom.Circle2d¶ Bases:
geom.Surface2d-
getArea((Circle2d)arg1) → float :¶ Return the object area.
- C++ signature :
- double getArea(Circle2d {lvalue})
-
getCenter((Circle2d)arg1) → Pos2d :¶ - C++ signature :
- Pos2d getCenter(Circle2d {lvalue})
-
getCenterOfMass((Circle2d)arg1) → Pos2d :¶ - C++ signature :
- Pos2d getCenterOfMass(Circle2d {lvalue})
-
getDiameter((Circle2d)arg1) → float :¶ Return the object diameter.
- C++ signature :
- double getDiameter(Circle2d {lvalue})
-
getInscribedPolygon((Circle2d)arg1, (int)arg2, (float)arg3) → Polygon2d :¶ getInscribedPolygon(n,theta_inic) return an inscribed regular polygon with n sides starting in the angle argument
- C++ signature :
- Polygon2d getInscribedPolygon(Circle2d {lvalue},unsigned long,double)
-
getIx((Circle2d)arg1) → float :¶ - C++ signature :
- double getIx(Circle2d {lvalue})
-
getIy((Circle2d)arg1) → float :¶ - C++ signature :
- double getIy(Circle2d {lvalue})
-
getPerimeter((Circle2d)arg1) → float :¶ Return the object perimeter.
- C++ signature :
- double getPerimeter(Circle2d {lvalue})
-
getPxy((Circle2d)arg1) → float :¶ - C++ signature :
- double getPxy(Circle2d {lvalue})
-
getRadius((Circle2d)arg1) → float :¶ Return the object radius.
- C++ signature :
- double getRadius(Circle2d {lvalue})
-
-
class
geom.Surface3d¶ Bases:
geom.GeomObj3d
-
class
geom.D2to3d¶ Bases:
geom.Surface3d-
getPlane((D2to3d)arg1) → Plane3d :¶ - C++ signature :
- Plane getPlane(D2to3d {lvalue})
-
-
class
geom.GeneralEquationOfPlane¶ Bases:
Boost.Python.instance
-
class
geom.Plane3d¶ Bases:
geom.Surface3d-
getAngleWithVector3d((Plane3d)arg1, (Vector3d)arg2) → float :¶ - C++ signature :
- double getAngleWithVector3d(Plane {lvalue},Vector3d)
-
getBase1((Plane3d)arg1) → Vector3d :¶ - C++ signature :
- Vector3d getBase1(Plane {lvalue})
-
getBase2((Plane3d)arg1) → Vector3d :¶ - C++ signature :
- Vector3d getBase2(Plane {lvalue})
getBase2( (Plane3d)arg1) -> Vector3d :
- C++ signature :
- Vector3d getBase2(Plane {lvalue})
-
getIntersLine3d((Plane3d)arg1, (Line3d)arg2) → Pos3d :¶ return the intersection with the line argument.
- C++ signature :
- Pos3d getIntersLine3d(Plane {lvalue},Line3d)
-
getIntersPlane((Plane3d)arg1, (Plane3d)arg2) → Line3d :¶ - C++ signature :
- Line3d getIntersPlane(Plane {lvalue},Plane)
-
getIntersRay3d((Plane3d)arg1, (Ray3d)arg2) → Pos3d :¶ return the intersection with the ray argument.
- C++ signature :
- Pos3d getIntersRay3d(Plane {lvalue},Ray3d)
-
getIntersSegment3d((Plane3d)arg1, (Segment3d)arg2) → Pos3d :¶ return the intersection with the segment argument.
- C++ signature :
- Pos3d getIntersSegment3d(Plane {lvalue},Segment3d)
-
getLine3dProjection((Plane3d)arg1, (Line3d)arg2) → Line3d :¶ - C++ signature :
- Line3d getLine3dProjection(Plane {lvalue},Line3d)
-
getNormal((Plane3d)arg1) → Vector3d :¶ return the plane normal.
- C++ signature :
- Vector3d getNormal(Plane {lvalue})
-
getPlaneAngle((Plane3d)arg1, (Plane3d)arg2) → float :¶ - C++ signature :
- double getPlaneAngle(Plane {lvalue},Plane)
-
getPos3dProjection((Plane3d)arg1, (Pos3d)arg2) → Pos3d :¶ - C++ signature :
- Pos3d getPos3dProjection(Plane {lvalue},Pos3d)
-
getVector3dProjection((Plane3d)arg1, (Vector3d)arg2) → Vector3d :¶ - C++ signature :
- Vector3d getVector3dProjection(Plane {lvalue},Vector3d)
-
getXYTrace((Plane3d)arg1) → Line3d :¶ return the trace on the XY plane.
- C++ signature :
- Line3d getXYTrace(Plane {lvalue})
-
getXZTrace((Plane3d)arg1) → Line3d :¶ return the trace on the XZ plane.
- C++ signature :
- Line3d getXZTrace(Plane {lvalue})
-
getYZTrace((Plane3d)arg1) → Line3d :¶ return the trace on the YZ plane.
- C++ signature :
- Line3d getYZTrace(Plane {lvalue})
-
linearLeastSquaresFitting((Plane3d)arg1, (polyPos3d)arg2) → float :¶ compute the plane that best suits the point cloud.
- C++ signature :
- double linearLeastSquaresFitting(Plane {lvalue},PolyPos<Pos3d>)
-
-
class
geom.Polygon3d¶ Bases:
geom.D2to3d-
getArea((Polygon3d)arg1) → float :¶ Return the object area.
- C++ signature :
- double getArea(Polygon3d {lvalue})
-
getPerimeter((Polygon3d)arg1) → float :¶ Return the object perimeter.
- C++ signature :
- double getPerimeter(Polygon3d {lvalue})
-
-
class
geom.Triangle3d¶ Bases:
geom.Polygon3d
-
class
geom.Grid2d¶ Bases:
geom.Surface2d-
In((Grid2d)arg1, (Pos2d)arg2, (float)arg3) → bool :¶ - C++ signature :
- bool In(Grid2d {lvalue},Pos2d,double)
-
Ix((Grid2d)arg1) → float :¶ - C++ signature :
- double Ix(Grid2d {lvalue})
-
Iy((Grid2d)arg1) → float :¶ - C++ signature :
- double Iy(Grid2d {lvalue})
-
Pxy((Grid2d)arg1) → float :¶ - C++ signature :
- double Pxy(Grid2d {lvalue})
-
getArea((Grid2d)arg1) → float :¶ Return the object area.
- C++ signature :
- double getArea(Grid2d {lvalue})
-
getCenterOfMass((Grid2d)arg1) → Pos2d :¶ - C++ signature :
- Pos2d getCenterOfMass(Grid2d {lvalue})
-
getMax((Grid2d)arg1, (int)arg2) → float :¶ - C++ signature :
- double getMax(Grid2d {lvalue},unsigned short)
-
getMin((Grid2d)arg1, (int)arg2) → float :¶ - C++ signature :
- double getMin(Grid2d {lvalue},unsigned short)
-
getPoint((Grid2d)arg1, (int)arg2, (int)arg3) → Pos2d :¶ - C++ signature :
- Pos2d getPoint(Grid2d {lvalue},unsigned long,unsigned long)
-
getPoints((Grid2d)arg1) → MatrixPos2d :¶ - C++ signature :
- Pos2dArray {lvalue} getPoints(Grid2d {lvalue})
-
getQuad((Grid2d)arg1, (int)arg2, (int)arg3) → Quadrilateral2d :¶ - C++ signature :
- Quadrilateral2d getQuad(Grid2d {lvalue},unsigned long,unsigned long)
-