public CoordinateEntity(IPointEntity origin, IVectorEntity xAxis, IVectorEntity yAxis, IVectorEntity zAxis) { this.Origin = origin; this.XAxis = xAxis; this.YAxis = yAxis; this.ZAxis = zAxis; }
public void Set(IPointEntity origin, IVectorEntity xAxis, IVectorEntity yAxis, IVectorEntity zAxis) { this.Origin = origin; this.XAxis = xAxis; this.YAxis = yAxis; this.ZAxis = zAxis; }
public IArcEntity ArcByCenterPointStartPointSweepAngle(IPointEntity centerPoint, IPointEntity startPoint, double sweepAngle, IVectorEntity normal) { DSGeometryApplication.Check(); double radius = startPoint.DistanceTo(centerPoint); double startAngle = 30; return new ArcEntity(centerPoint, normal, radius, startAngle, sweepAngle); }
public IPlaneEntity PlaneByOriginNormal(IPointEntity origin, IVectorEntity normal) { DSGeometryApplication.Check(); IPlaneEntity plane = new PlaneEntity(origin, normal); return(plane); }
public CoordinateEntity(IPointEntity origin, IVectorEntity xAxis, IVectorEntity yAxis, IVectorEntity zAxis) { this.Origin = origin; this.XAxis = xAxis; this.YAxis = yAxis; this.ZAxis = zAxis; }
internal ArcEntity(IPointEntity center, IVectorEntity normal, double radius, double startAngle, double sweepAngle) { this.CenterPoint = center; this.Normal = normal; this.Radius = radius; this.StartAngle = startAngle; this.SweepAngle = sweepAngle; }
internal ArcEntity(IPointEntity center, IVectorEntity normal, double radius, double startAngle, double sweepAngle) { this.CenterPoint = center; this.Normal = normal; this.Radius = radius; this.StartAngle = startAngle; this.SweepAngle = sweepAngle; }
public ICoordinateSystemEntity Translate(IVectorEntity translationVector) { CoordinateEntity cs = new CoordinateEntity(); PointEntity pt = new PointEntity() { X = cs.Origin.X + translationVector.X, Y = cs.Origin.Y + translationVector.Y, Z = cs.Origin.Z + translationVector.Z }; cs.Set(pt, this.XAxis, this.YAxis, this.ZAxis); return(cs); }
public IGeometryEntity[] Project(IGeometryEntity iGeometryEntity, IVectorEntity iVectorEntity) { throw new NotImplementedException(); }
public IPlaneEntity PlaneByOriginXAxisYAxis(IPointEntity origin, IVectorEntity xAxis, IVectorEntity yAxis) { throw new NotImplementedException(); }
public ICircleEntity CircleByCenterPointRadiusNormal(IPointEntity center, double radius, IVectorEntity normal) { DSGeometryApplication.Check(); return(new CircleEntity(center, radius, normal)); }
public virtual IPointEntity Project(IPointEntity point, IVectorEntity direction) { return new PointEntity(); }
public ICircleEntity CircleByCenterPointRadiusNormal(IPointEntity center, double radius, IVectorEntity normal) { DSGeometryApplication.Check(); return new CircleEntity(center, radius, normal); }
public virtual ISurfaceEntity Extrude(IVectorEntity direction, double distance) { return new SurfaceEntity(); }
public bool UpdateSolidByRevolve(ICurveEntity profileCurve, IPointEntity originPoint, IVectorEntity revolveAxis, double startAngle, double sweepAngle) { return false; }
internal CircleEntity(IPointEntity center, double radius, IVectorEntity normal) { this.CenterPoint = center; this.Radius = radius; this.Normal = normal; }
public bool IsAlmostEqualTo(IVectorEntity other) { throw new NotImplementedException(); }
public IGeometryEntity[] Project(IGeometryEntity iGeometryEntity, IVectorEntity iVectorEntity) { throw new NotImplementedException(); }
public virtual IGeometryEntity CopyAndTranslate(IVectorEntity offset) { return this; }
public bool UpdateSubDMeshNormals(IVectorEntity[] normals) { return false; }
public bool UpdateSubDMeshColors(IPointEntity[] vertices, IVectorEntity[] normals, IColor[] colors, int[][] faceIndices, int subDLevel) { return false; }
public virtual IPointEntity GetClosestPointTo(IPointEntity point, IVectorEntity direction, bool extend) { return this.StartPoint; }
public virtual IGeometryEntity CopyAndTranslate(IVectorEntity offset) { return(this); }
public void Translate(IVectorEntity vec) { throw new NotImplementedException(); }
public IPointEntity Project(IPointEntity iPointEntity, IVectorEntity direction) { return(iPointEntity); }
public virtual ISurfaceEntity Extrude(IVectorEntity direction, double distance) { return(new SurfaceEntity()); }
public ICoordinateSystemEntity Rotation(double rotationAngle, IVectorEntity axis, IPointEntity origin) { return new CoordinateEntity(); }
public virtual IPointEntity GetClosestPointTo(IPointEntity point, IVectorEntity direction, bool extend) { return(this.StartPoint); }
public IGeometryEntity[] Project(IGeometryEntity geometry, IVectorEntity direction) { return new IGeometryEntity[2] { new GeometryEntity(), new GeometryEntity() }; }
public PlaneEntity(IPointEntity origin, IVectorEntity normal) { this.Origin = origin; this.Normal = normal; this.contextCS = new CoordinateEntity(); }
public INurbsCurveEntity NurbsCurveByPointsTangents(IPointEntity[] pts, IVectorEntity startTangent, IVectorEntity endTangent) { DSGeometryApplication.Check(); return(new NurbsCurveEntity()); }
public IPointEntity Project(IPointEntity iPointEntity, IVectorEntity direction) { return iPointEntity; }
public IPlaneEntity PlaneByOriginNormalXAxis(IPointEntity origin, IVectorEntity normal, IVectorEntity xAxis) { throw new NotImplementedException(); }
void ITransformableEntity.Translate(IVectorEntity vec) { throw new NotImplementedException(); }
public ISolidEntity SolidByRevolve(ICurveEntity profile, IPointEntity axisOrigin, IVectorEntity axisDirection, double startAngle, double sweepAngle) { DSGeometryApplication.Check(); return(new SolidEntity()); }
public ISurfaceEntity Extrude(IVectorEntity direction) { throw new NotImplementedException(); }
public ISolidEntity SolidByRevolve(ICurveEntity profile, IPointEntity axisOrigin, IVectorEntity axisDirection, double startAngle, double sweepAngle) { DSGeometryApplication.Check(); return new SolidEntity(); }
public virtual ICurveEntity ProjectOn(IPlaneEntity plane, IVectorEntity direction) { return new LineEntity(); }
public void Translate(IVectorEntity vec) { throw new NotImplementedException(); }
public ICoordinateSystemEntity Translate(IVectorEntity translationVector) { CoordinateEntity cs = new CoordinateEntity(); PointEntity pt = new PointEntity() { X = cs.Origin.X + translationVector.X, Y = cs.Origin.Y + translationVector.Y, Z = cs.Origin.Z + translationVector.Z }; cs.Set(pt, this.XAxis, this.YAxis, this.ZAxis); return cs; }
public PlaneEntity(IPointEntity origin, IVectorEntity normal) { this.Origin = origin; this.Normal = normal; this.contextCS = new CoordinateEntity(); }
public virtual IGeometryEntity[] ProjectOn(ISurfaceEntity surface, IVectorEntity direction) { return new IGeometryEntity[2] { new GeometryEntity(), new GeometryEntity() }; }
public static Vector ToVector(this IVectorEntity v) { return(Vector.ByCoordinates(v.X, v.Y, v.Z)); }
public ISolidEntity ExtrudeAsSolid(IVectorEntity direction, double distance) { throw new NotImplementedException(); }
public void Rotate(IPointEntity origin, IVectorEntity axis, double degrees) { throw new NotImplementedException(); }
public static IVectorEntity Scale(this IVectorEntity v, double scale) { return(v.ToVector().Scale(scale).ToIVector()); }
public ICoordinateSystemEntity Rotation(double rotationAngle, IVectorEntity axis, IPointEntity origin) { return(new CoordinateEntity()); }
public static double Length(this IVectorEntity v) { return(v.ToVector().Length); }
internal CircleEntity(IPointEntity center, double radius, IVectorEntity normal) { this.CenterPoint = center; this.Radius = radius; this.Normal = normal; }
public bool IsAlmostEqualTo(IVectorEntity other) { throw new NotImplementedException(); }
void ITransformableEntity.Translate(IVectorEntity vec) { throw new NotImplementedException(); }
public ICoordinateSystemEntity CoordinateSystemByOriginVectors(IPointEntity origin, IVectorEntity xAxis, IVectorEntity yAxis, IVectorEntity zAxis) { throw new NotImplementedException(); }
public void Rotate(IPointEntity origin, IVectorEntity axis, double degrees) { throw new NotImplementedException(); }
public IArcEntity ArcByCenterPointRadiusAngle(IPointEntity center, double radius, double startAngle, double endAngle, IVectorEntity normal) { DSGeometryApplication.Check(); double sweepAngle = endAngle - startAngle; return(new ArcEntity(center, normal, radius, startAngle, sweepAngle)); }
public void Set(IPointEntity origin, IVectorEntity xAxis, IVectorEntity yAxis, IVectorEntity zAxis) { this.Origin = origin; this.XAxis = xAxis; this.YAxis = yAxis; this.ZAxis = zAxis; }
public IEllipseEntity EllipseByOriginVectors(IPointEntity origin, IVectorEntity xAxisRadius, IVectorEntity yAxisRadius) { throw new NotImplementedException(); }
public IGeometryEntity[] Project(IPointEntity PointEntity, IVectorEntity dir) { throw new NotImplementedException(); }
public IHelixEntity HelixByAxis(IPointEntity axisPoint, IVectorEntity axisDirection, IPointEntity startPoint, double pitch, double angleTurns) { throw new NotImplementedException(); }
public IArcEntity ArcByCenterPointStartPointSweepAngle(IPointEntity centerPoint, IPointEntity startPoint, double sweepAngle, IVectorEntity normal) { DSGeometryApplication.Check(); double radius = startPoint.DistanceTo(centerPoint); double startAngle = 30; return(new ArcEntity(centerPoint, normal, radius, startAngle, sweepAngle)); }
public IPlaneEntity PlaneByOriginXAxisYAxis(IPointEntity origin, IVectorEntity xAxis, IVectorEntity yAxis) { throw new NotImplementedException(); }