General topics

class geom.ProtoGeom

Bases: xc_base.CommandEntity

property exists

Return true if not degenerated/invalid.

class geom.GeomObj

Bases: geom.ProtoGeom

getArea((GeomObj)arg1) float :

return the object area.

C++ signature :

double getArea(GeomObj {lvalue})

getArea( (GeomObj)arg1) -> None :

C++ signature :

void getArea(GeomObj {lvalue})

getDimension((GeomObj)arg1) int :

return the object dimension.

C++ signature :

unsigned short getDimension(GeomObj {lvalue})

getDimension( (GeomObj)arg1) -> None :

C++ signature :

void getDimension(GeomObj {lvalue})

getLength((GeomObj)arg1) float :
C++ signature :

double getLength(GeomObj {lvalue})

getLength( (GeomObj)arg1) -> None :

C++ signature :

void getLength(GeomObj {lvalue})

getVolume((GeomObj)arg1) float :

return the object volume.

C++ signature :

double getVolume(GeomObj {lvalue})

getVolume( (GeomObj)arg1) -> None :

C++ signature :

void getVolume(GeomObj {lvalue})

class geom.GeomObj2d

Bases: geom.GeomObj

In((GeomObj2d)arg1, (Pos2d)arg2, (float)arg3) bool :

Return true if the argument lies inside this object.

C++ signature :

bool In(GeomObj2d {lvalue},Pos2d,double)

getBnd((GeomObj2d)arg1) BND2d :

Return the boundary box for this object.

C++ signature :

BND2d getBnd(GeomObj2d {lvalue})

getIx((GeomObj2d)arg1) float :
C++ signature :

double getIx(GeomObj2d {lvalue})

getIx( (GeomObj2d)arg1) -> None :

C++ signature :

void getIx(GeomObj2d {lvalue})

getIy((GeomObj2d)arg1) float :
C++ signature :

double getIy(GeomObj2d {lvalue})

getIy( (GeomObj2d)arg1) -> None :

C++ signature :

void getIy(GeomObj2d {lvalue})

getIz((GeomObj2d)arg1) float :
C++ signature :

double getIz(GeomObj2d {lvalue})

getMax((GeomObj2d)arg1, (int)arg2) float :
C++ signature :

double getMax(GeomObj2d {lvalue},unsigned short)

getMin((GeomObj2d)arg1, (int)arg2) float :
C++ signature :

double getMin(GeomObj2d {lvalue},unsigned short)

getProjection((GeomObj2d)arg1, (Pos2d)arg2) Pos2d :
C++ signature :

Pos2d getProjection(GeomObj2d {lvalue},Pos2d)

getProjection( (GeomObj2d)arg1, (Vector2d)arg2) -> Vector2d :

C++ signature :

Vector2d getProjection(GeomObj2d {lvalue},Vector2d)

getPxy((GeomObj2d)arg1) float :
C++ signature :

double getPxy(GeomObj2d {lvalue})

getPxy( (GeomObj2d)arg1) -> None :

C++ signature :

void getPxy(GeomObj2d {lvalue})

property getXMax

Return maximum value for x coordinate.

property getXMin

Return minimum value for x coordinate.

property getYMax

Return maximum value for y coordinate.

property getYMin

Return minimum value for y coordinate.

move((GeomObj2d)arg1, (Vector2d)arg2) None :

move(vector): move the object.

C++ signature :

void move(GeomObj2d {lvalue},Vector2d)

class geom.GeomObj3d

Bases: geom.GeomObj

In((GeomObj3d)arg1, (Pos3d)arg2, (float)arg3) bool :

In(pos3d,tol) return true if the points lies inside the polygon (distance from the point to the polygon less than the tolerance argument).

C++ signature :

bool In(GeomObj3d {lvalue},Pos3d,double)

getBnd((GeomObj3d)arg1) BND3d :

Return the boundary box for this object.

C++ signature :

BND3d getBnd(GeomObj3d {lvalue})

getIx((GeomObj3d)arg1) float :
C++ signature :

double getIx(GeomObj3d {lvalue})

getIx( (GeomObj3d)arg1) -> None :

C++ signature :

void getIx(GeomObj3d {lvalue})

getIy((GeomObj3d)arg1) float :
C++ signature :

double getIy(GeomObj3d {lvalue})

getIy( (GeomObj3d)arg1) -> None :

C++ signature :

void getIy(GeomObj3d {lvalue})

getIz((GeomObj3d)arg1) float :
C++ signature :

double getIz(GeomObj3d {lvalue})

getMax((GeomObj3d)arg1, (int)arg2) float :
C++ signature :

double getMax(GeomObj3d {lvalue},unsigned short)

getMin((GeomObj3d)arg1, (int)arg2) float :
C++ signature :

double getMin(GeomObj3d {lvalue},unsigned short)

getProjection((GeomObj3d)arg1, (Pos3d)arg2) Pos3d :
C++ signature :

Pos3d getProjection(GeomObj3d {lvalue},Pos3d)

getProjection( (GeomObj3d)arg1, (Vector3d)arg2) -> Vector3d :

C++ signature :

Vector3d getProjection(GeomObj3d {lvalue},Vector3d)

getPxy((GeomObj3d)arg1) float :
C++ signature :

double getPxy(GeomObj3d {lvalue})

getPxy( (GeomObj3d)arg1) -> None :

C++ signature :

void getPxy(GeomObj3d {lvalue})

getPxz((GeomObj3d)arg1) float :
C++ signature :

double getPxz(GeomObj3d {lvalue})

getPxz( (GeomObj3d)arg1) -> None :

C++ signature :

void getPxz(GeomObj3d {lvalue})

getPyz((GeomObj3d)arg1) float :
C++ signature :

double getPyz(GeomObj3d {lvalue})

getPyz( (GeomObj3d)arg1) -> None :

C++ signature :

void getPyz(GeomObj3d {lvalue})

property getXMax

Return maximum value for x coordinate.

property getXMin

Return minimum value for x coordinate.

property getYMax

Return maximum value for y coordinate.

property getYMin

Return minimum value for y coordinate.

property getZMax

Return maximum value for z coordinate.

property getZMin

Return minimum value for z coordinate.