Shapes
Global shapes
- class geometries.s2e.shapes.ball.BallShape.BallShape(location, radius)
Construction
- Arguments:
location (Isometry|Point|Vector) – data for the center of the ball
radius (number) – the radius od the ball
- geometries.s2e.shapes.ball.BallShape.BallShape.BallShape
Construction
- geometries.s2e.shapes.ball.BallShape.BallShape.isBallShape
type: boolean
Says that the object inherits from Ball
- geometries.s2e.shapes.ball.BallShape.BallShape.isGlobal
type: boolean
Says whether the shape is global. True if global, false otherwise.
- class geometries.s2e.shapes.horizontalCylinder.HorizontalCylinderShape.HorizontalCylinderShape(isom, radius)
Constructor
- Arguments:
isom (Isometry) – the isometry defining the position of the cylinder.
radius (number) – the radius of the cylinder The cylinder is the image by isom of the cylinder going through the origin and directed by the vector (1,0,0)
- geometries.s2e.shapes.horizontalCylinder.HorizontalCylinderShape.HorizontalCylinderShape.HorizontalCylinderShape
Constructor
- geometries.s2e.shapes.horizontalCylinder.HorizontalCylinderShape.HorizontalCylinderShape.vector
Return the vector (point + direction) orienting the geodesic Mainly used to pass data to the shader
- class geometries.s2e.shapes.verticalCylinder.VerticalCylinderShape.VerticalCylinderShape(isom, radius)
Constructor
- Arguments:
isom (Isometry) – the isometry defining the position of the cylinder.
radius (number) – the radius of the cylinder The cylinder is the image by isom of the cylinder going through the origin and directed by the vector (0,0,1)
- geometries.s2e.shapes.verticalCylinder.VerticalCylinderShape.VerticalCylinderShape.VerticalCylinderShape
Constructor
- geometries.s2e.shapes.verticalCylinder.VerticalCylinderShape.VerticalCylinderShape.vector
Return the vector (point + direction) orienting the geodesic Mainly used to pass data to the shader
- class geometries.s2e.shapes.wCappedCylinder.WCappedCylinderShape.WCappedCylinderShape(location, radius, height, smoothness)
Construction (Image by the isometry of the) cylinder around the w-axis.
- Arguments:
location (Isometry) – data for the position of the cylinder
radius (number) – radius of the cylinder
height (number) – height of the cylinder
smoothness (number) – smoothness of the edge (polynomial smooth max)
- geometries.s2e.shapes.wCappedCylinder.WCappedCylinderShape.WCappedCylinderShape.WCappedCylinderShape
Construction (Image by the isometry of the) cylinder around the w-axis.
- geometries.s2e.shapes.wCappedCylinder.WCappedCylinderShape.WCappedCylinderShape.isGlobal
type: boolean
Says whether the shape is global. True if global, false otherwise.
- geometries.s2e.shapes.wCappedCylinder.WCappedCylinderShape.WCappedCylinderShape.isWCappedCylinderShape
type: boolean
Says that the object inherits from Ball
- class geometries.s2e.shapes.wCylinder.WCylinderShape.WCylinderShape(location, radius)
Construction (Image by the isometry of the) cylinder around the w-axis.
- Arguments:
location (Isometry) – data for the position of the cylinder
radius (number) – radius of the cylinder
- geometries.s2e.shapes.wCylinder.WCylinderShape.WCylinderShape.WCylinderShape
Construction (Image by the isometry of the) cylinder around the w-axis.
- geometries.s2e.shapes.wCylinder.WCylinderShape.WCylinderShape.isGlobal
type: boolean
Says whether the shape is global. True if global, false otherwise.
- geometries.s2e.shapes.wCylinder.WCylinderShape.WCylinderShape.isWCylinderShape
type: boolean
Says that the object inherits from Ball
- class geometries.s2e.shapes.wHalfSpace.WHalfSpaceShape.WHalfSpaceShape(location)
Construction (Image by the isometry of the) half space with equation {w < 0}.
- Arguments:
location (Isometry) – data for the center of the ball
- geometries.s2e.shapes.wHalfSpace.WHalfSpaceShape.WHalfSpaceShape.WHalfSpaceShape
Construction (Image by the isometry of the) half space with equation {w < 0}.
- geometries.s2e.shapes.wHalfSpace.WHalfSpaceShape.WHalfSpaceShape.isGlobal
type: boolean
Says whether the shape is global. True if global, false otherwise.
- geometries.s2e.shapes.wHalfSpace.WHalfSpaceShape.WHalfSpaceShape.isWHalfSpaceShape
type: boolean
Says that the object inherits from Ball
Local shapes
- class geometries.s2e.shapes.localBall.LocalBallShape.LocalBallShape(location, radius)
Construction
- Arguments:
location (Isometry|Point|Vector) – data for the center of the ball
radius (number) – the radius od the ball
- geometries.s2e.shapes.localBall.LocalBallShape.LocalBallShape.LocalBallShape
Construction
- geometries.s2e.shapes.localBall.LocalBallShape.LocalBallShape.isGlobal
type: boolean
Says whether the shape is global. True if global, false otherwise.
- geometries.s2e.shapes.localBall.LocalBallShape.LocalBallShape.isLocalBallShape
type: boolean
Says that the object inherits from Ball
- class geometries.s2e.shapes.localHorizontalCylinder.LocalHorizontalCylinderShape.LocalHorizontalCylinderShape(isom, radius)
Constructor
- Arguments:
isom (Isometry) – the isometry defining the position of the cylinder.
radius (number) – the radius of the cylinder The cylinder is the image by isom of the cylinder going through the origin and directed by the vector (1,0,0)
- geometries.s2e.shapes.localHorizontalCylinder.LocalHorizontalCylinderShape.LocalHorizontalCylinderShape.LocalHorizontalCylinderShape
Constructor
- geometries.s2e.shapes.localHorizontalCylinder.LocalHorizontalCylinderShape.LocalHorizontalCylinderShape.vector
Return the vector (point + direction) orienting the geodesic Mainly used to pass data to the shader
- class geometries.s2e.shapes.localStackBall.LocalStackBallShape.LocalStackBallShape(location, radius, height)
Construction
- Arguments:
location (Isometry|Point|Vector) – data for the center of the ball
radius (number) – the radius od the ball
height (number) – height between two balls
- geometries.s2e.shapes.localStackBall.LocalStackBallShape.LocalStackBallShape.LocalStackBallShape
Construction
- geometries.s2e.shapes.localStackBall.LocalStackBallShape.LocalStackBallShape.isGlobal
type: boolean
Says whether the shape is global. True if global, false otherwise.
- geometries.s2e.shapes.localStackBall.LocalStackBallShape.LocalStackBallShape.isLocalStackBallShape
type: boolean
Says that the object inherits from Ball
- class geometries.s2e.shapes.localStackWSlab.LocalStackWSlabShape.LocalStackWSlabShape(location, thickness, height)
Construction (Image by the isometry of the) slab with equation {abs(w) < thickness}.
- Arguments:
location (Isometry) – data for the center of the ball
thickness (number) – thickness of the slab
height (number) – height between two slabs
- geometries.s2e.shapes.localStackWSlab.LocalStackWSlabShape.LocalStackWSlabShape.LocalStackWSlabShape
Construction (Image by the isometry of the) slab with equation {abs(w) < thickness}.
- geometries.s2e.shapes.localStackWSlab.LocalStackWSlabShape.LocalStackWSlabShape.isGlobal
type: boolean
Says whether the shape is global. True if global, false otherwise.
- geometries.s2e.shapes.localStackWSlab.LocalStackWSlabShape.LocalStackWSlabShape.isLocalStackWSlabShape
type: boolean
Says that the object inherits from LocalWHalfSpaceShape
- class geometries.s2e.shapes.localVerticalCylinder.LocalVerticalCylinderShape.LocalVerticalCylinderShape(radius, isom)
Constructor
- Arguments:
radius (number) – the radius of the cylinder
isom (Isometry) – the isometry defining the position of the cylinder. The cylinder is the image by isom of the cylinder going through the origin and directed by the vector (0,0,1)
- geometries.s2e.shapes.localVerticalCylinder.LocalVerticalCylinderShape.LocalVerticalCylinderShape.LocalVerticalCylinderShape
Constructor
- geometries.s2e.shapes.localVerticalCylinder.LocalVerticalCylinderShape.LocalVerticalCylinderShape.vector
Return the vector (point + direction) orienting the geodesic Mainly used to pass data to the shader
- class geometries.s2e.shapes.localWSlab.LocalWSlabShape.LocalWSlabShape(location, thickness)
Construction (Image by the isometry of the) slab with equation {abs(w) < thickness}.
- Arguments:
location (Isometry) – data for the center of the ball
thickness (number) – thickness of the slab
- geometries.s2e.shapes.localWSlab.LocalWSlabShape.LocalWSlabShape.LocalWSlabShape
Construction (Image by the isometry of the) slab with equation {abs(w) < thickness}.
- geometries.s2e.shapes.localWSlab.LocalWSlabShape.LocalWSlabShape.isGlobal
type: boolean
Says whether the shape is global. True if global, false otherwise.
- geometries.s2e.shapes.localWSlab.LocalWSlabShape.LocalWSlabShape.isLocalWSlabShape
type: boolean
Says that the object inherits from LocalWHalfSpaceShape